View Single Post
Old 29/12/2011, 10:58 PM   #9
Notis123
Big Clucker
 
Join Date: Jun 2011
Posts: 156
Reputation: 12
Default Re: /changename /clearchat cmds

Quote:
Originally Posted by Fj0rtizFredde View Post
Why do you guys make your code so big?
pawn Code:
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;
}
About the "changename" do you want so every player can use it or just admins?
OMFG then every play would change another player name without being admin duuuuuuuuuh
Mastermids those days
No he want it for admins only as Normal people do.
__________________
My Works:
[FS]NAdmin
Notis123 is offline   Reply With Quote