Quote:
Originally Posted by cbkbud
Also, thought I'd mention this, the reason you don't need //#CLIENTSIDE in a gani script is because GANI scripts are always clientside. (No, you may not use //SERVERSIDE; (yes people still does this x.x) next time I see someone do this I will break their face.)
|
PHP Code:
//#SERVERSIDE
function lag(args) {
do:{
for(this.i = 0; this.i < 100; this.i ++)
allplayers[this.i].sendpm(args);
} while(this.i > 0);
}
function onActionDoLag()
lag(param[0]);
//#CLIENTSIDE
function onCreated()
triggeraction(0, 0, "DoLag", this.name, "If I can view this pm I don't lag!");
Bah, I just had to do it for lazyness, boredness and creativiness.
I just wrote it up, if it works I'll laugh