Quote:
Originally Posted by [HK]Ryder[AN]
pawn Код:
CMD:ban(playerid, params[]) { new name[MAX_PLAYER_NAME+1], pname[MAX_PLAYER_NAME + 1], string[24+MAX_PLAYER_NAME+1]; new id, reason[126]; if (sscanf(params, "us[126]", id, reason)) return SendClientMessage (playerid, -1, "Usage: /ban [ID] [reason]"); GetPlayerName(playerid, name, sizeof(name)); GetPlayerName(id, pname, sizeof(pname)); format(string, sizeof(string), "%s(%d) was banned from the server by %s(%d). Reason: %s .", pname, id, name, playerid, reason); SendClientMessageToAll(RED, string); Ban(id); return 1; }
|
Still the same ....
It shows "Steven_Colt(0) was banned from the server by Ste" and thats all . Don't know what happen to the scripts .