01.03.2010, 16:56
Hey there!
I was makeing a timer to kick a player if they have more than 0 cash.
But i get those 2 errors:
Of top of my script:
on public OnFilterScriptInit():
Bottom of script:
Any1 know how to to fix this? Also please explain why/how to fix it, as i'm trying to learn how to script
-Naxix
I was makeing a timer to kick a player if they have more than 0 cash.
But i get those 2 errors:
Код:
(256) : error 035: argument type mismatch (argument 1) (259) : error 035: argument type mismatch (argument 1)
Код:
forward moneyhack(i);
Код:
SetTimer("moneyhack",1000,1);
Код:
public moneyhack() { new cash; for(new i=0; i < MAX_PLAYERS; i++) cash = GetPlayerMoney("i"); (Line 256) if(cash < 0) { Kick("i"); (Line 259) return 1; } return 1; }
-Naxix