Well I addapted the predifned NPC's! And heres my Code:
NPC Code:
// NPC made by Spark911
if (created) {
setimg light2.png;
dontblock;
timeout = 0.1;
x=22;
y=19;
}
//#CLIENTSIDE
if (timeout) {
setcoloreffect 1,0.5,0.5,0.99;
drawaslight;
sleep 0.2;
setzoomeffect 1.1;
sleep 0.3;
setzoomeffect 1.2;
sleep 0.4;
setzoomeffect 1.1;
sleep 0.3;
setzoomeffect 1;
timeout = 0.1;
}
I Use it on Rudora to test it and alot of lights there come out Blakc and dont show, Why not? They should do, Is it Beacuse that script needs NPC Server!?
-Spark911