ah, just wondered
but I was thinking of something, doesn't temp. variables get deleted after the ending bracet?
if (clientr.element == "Dark") {
temp.stealthtime = clientr.levels.Thief * 1.5;
}
else if (clientr.element == "Light") {
temp.stealthtime = clientr.levels.Thief * .5;
}
else {
or..?
And again (and again xD) correct me if I am wrong
but, do the function onCast() check if it allready has the buff (can't see the ckecking stuff in the script) and is onCast() done outside the same script?
if so;
sleep(this.ftime); if you cast the function from outside the script while the script has sleep wouldn't it stop the script?
That happened too one of my scripts
(everytime it added an showani of players head and used sleep then hide it, but when player died (or have been hitted many times)
the script stopped and I have to update the script)
Well that problem is gone now, but
I dunno if you should use sleep there :O
Correct me if I am wrong,
but I am guessing its wrong but I am trying atleast
