
01-08-2002, 10:56 AM
|
|
Where's Princess Garnet..
|
 |
Join Date: Nov 2001
Location: In my chair ;D
Posts: 1,713
|
|
I need some help!
|
Okay I need some help with an NPC.
I am trying to make it where, when you walk onto it it lights up but when you walk off the lights turn off.
Here was my attempt!
// NPC made by Ramsey
if (created) {
setimg whatever.gif;
dontblock;
drawunderplayer;
}
//#CLIENTSIDE
if (playertouchsme) {
setcoloreffect 1,1,1,0.99;
drawaslight;
sleep 1;
} |
__________________
|
|
|
|