Quote:
Originally Posted by Yaa
PHP код:
CMD:tempban(playerid, params[])
{
new bannedid, reason[25], hours;
if(sscanf(params, "uis[25]", bannedid, hours, reason)) return SendClientMessage(playerid, RED, "/tempban [player] [time] [reason]");
return 1;
}
reason it's last params
@Sunehildeep didn't notice it :P also it's "usi[25]"
|
It still doesnt work. When I type for example /tempban name 4 cheating i still get /tempban [player] [time] [reason] message