Advertisement
JeffryUGP

clearchat - ZCMD

Feb 17th, 2013
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.33 KB | None | 0 0
  1. CMD:clearchat(playerid, params[])
  2. {
  3.     if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: You have to be Admin-Logged to use this command.");
  4.     for(new i=0; i<100; i++) SendClientMessageToAll(-1, " ");
  5.     SendClientMessageToAll(0xFF0000FF, "Chat has been cleared. Server Version 1.0.0");
  6.     return 1;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement