06.04.2011, 20:49
At
Use "s" not "z" for string
and at
Change that %d with %s because it's a string
Just like that
for other problems i don't know wait to reply from good scripters , i am just a begginer.
Код:
if(sscanf(params, "uz", id, reason)) return SCM(playerid, COLOR_RED, "* Usage : /cage [PlayerID/Name] [Reason]");
Код:
if(sscanf(params, "us", id, reason)) return SCM(playerid, COLOR_RED, "* Usage : /cage [PlayerID/Name] [Reason]");
Код:
format(string, sizeof(string), "*** Administrator %s have caged %s for 1 minute | Reason : %d", pName(playerid), PlayerName, reason);
Just like that
Код:
format(string, sizeof(string), "*** Administrator %s have caged %s for 1 minute | Reason : %s", pName(playerid), PlayerName, reason);