SHARE
TWEET

Untitled

a guest Jun 19th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (strcmp("/vips", cmdtext, true, 10) == 0)
  2.     {
  3.         for(new i = 0; i < MAX_PLAYERS; i ++)
  4.             {
  5.             if(IsPlayerConnected(i) && PlayerInfo[i][pDonateRank] >= 1)
  6.                 {
  7.                 new vname[MAX_PLAYER_NAME], string[256];
  8.                 GetPlayerName(i,vname,sizeof(vname));
  9.                 new admin[50];
  10.                 if(PlayerInfo[i][pAdmin] == 0) { admin = "Não"; }
  11.                 if(PlayerInfo[i][pAdmin] >= 1 && PlayerInfo[i][pAdmin] < 1337) { admin = "Sim"; }
  12.                 if(PlayerInfo[i][pAdmin] == 1337) { admin = "MASTER"; }
  13.                 format(string,sizeof(string), "VIP: %s [%i] - Admin: %s", vname, i, admin);
  14.                 SendClientMessage(playerid,0x00FF786F,string);
  15.                 }
  16.             }
  17.         return 1;
  18.     }
RAW Paste Data
Top