jlalt

command

Feb 20th, 2016
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.46 KB | None | 0 0
  1. CMD:sgann(playerid,params[]) {
  2.    if(PlayerInfo[playerid][SG] >= 8) {
  3.       if(isnull(params)) return SendClientMessage(playerid,0xFF0000AA,"Usage: /sgann [text]");
  4.       for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i) && PlayerInfo[i][SG] >= 1) GameTextForPlayer(i, params, 4000, 3);
  5.       return CMDMessageToSG(playerid,"SGANN");
  6.    } else return SendClientMessage(playerid,0xDC143CAA,"ERROR: You need to be Super Gangster member rank 8 to use this command");
  7. }
Advertisement
Add Comment
Please, Sign In to add comment