29.12.2011, 21:56
Why do you guys make your code so big?
About the "changename" do you want so every player can use it or just admins?
pawn Код:
CMD:clearchat(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1, "You are not an admin!");
for(new chat = 0; chat <= 50; chat++) SendClientMessageToAll(-1, " ");
SendClientMessageToAll(-1, "An admin cleared the chat!");
return 1;
}