/changename /clearchat cmds
#7

Why do you guys make your code so big?
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;
}
About the "changename" do you want so every player can use it or just admins?
Reply


Messages In This Thread
/changename /clearchat cmds - by diego_p11 - 29.12.2011, 21:22
Re: /changename /clearchat cmds - by Notis123 - 29.12.2011, 21:44
Re: /changename /clearchat cmds - by SpiderWalk - 29.12.2011, 21:47
Re: /changename /clearchat cmds - by Notis123 - 29.12.2011, 21:51
Re: /changename /clearchat cmds - by SpiderWalk - 29.12.2011, 21:52
Re: /changename /clearchat cmds - by Notis123 - 29.12.2011, 21:56
Re: /changename /clearchat cmds - by Fj0rtizFredde - 29.12.2011, 21:56
Re: /changename /clearchat cmds - by Notis123 - 29.12.2011, 21:58
Re: /changename /clearchat cmds - by SpiderWalk - 29.12.2011, 22:01
Re: /changename /clearchat cmds - by Fj0rtizFredde - 29.12.2011, 22:14

Forum Jump:


Users browsing this thread: 1 Guest(s)