Quote:
Originally Posted by SilverKiller
pawn Код:
CMD:asay(playerid, params[]) { new String[100]; if(PlayerInfo[playerid][AdminLevel] < 1) return SendClientMessage(playerid, -1, "You need to be an Adminstrator to use this command!"); else if(sscanf(params, "s[100]", String)) return SendClientMessage(playerid, -1, "Usage: /asay <text>"); else { new pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, MAX_PLAYER_NAME); format(String, 100, "Adminstrator %s : %s", pName, String); SendClientMessageToAll(-1, String); } return 1; }
Should work
|
Thank you bro! hoo and... when you finish the Admin system that you are making, I want to be the first one to have it!
PD: And i'm also making one.
.
|\/| |\/| |\/|... soooooo.... are you going to help me with that admin system that I asked you to install?