View Single Post
Old 29/12/2011, 10:56 PM   #8
Fj0rtizFredde
Gangsta
 
Fj0rtizFredde's Avatar
 
Join Date: Jun 2008
Location: Sweden
Posts: 888
Reputation: 120
Default Re: /changename /clearchat cmds

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?
__________________
Latest crap I've made:
[Include]CleverBot - Never Be Alone Again!
Fj0rtizFredde is offline   Reply With Quote