View Single Post
Old 29/12/2011, 10:47 PM   #3
SpiderWalk
Gangsta
 
SpiderWalk's Avatar
 
Join Date: Apr 2010
Location: Serbia
Posts: 970
Reputation: 26
Default Re: /changename /clearchat cmds

clearchat
pawn Code:
COMMAND:clearchat(playerid, params[])
{
    if(PlayerInfo[playerid][pAdminLevel] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use this command.");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,"");
    SendClientMessageToAll(0xFFFFFFFF,""embed_blue"Valley Gamming TDM has cleared chat");
    return 1;
}
SpiderWalk is offline   Reply With Quote