25.09.2010, 19:13
Cant get it working, if i write "/banme Invalid Reason"
It gets: "[NWA]Hannes has banned himself! Reason:"
The reason doesnt show
Heres my code
It gets: "[NWA]Hannes has banned himself! Reason:"
The reason doesnt show
Heres my code
pawn Код:
dcmd_banme(playerid,params[])
{
new str[128], BannedName[24];
GetPlayerName(playerid, BannedName, 24);
format(str, 128, "%s has banned himself! Reason: %s", BannedName, strval(params));
SendClientMessageToAll(red, str);
Ban(playerid);
return 1;
}