Advertisement
Travalle

there

Jul 11th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. CMD:v(playerid, params[])
  2. {
  3. if(GetPVarInt(playerid, "DonateRank") >= 1)
  4. {
  5. if (isnull(params)) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /v [text]");
  6. for(new i = 0; i < MAX_PLAYERS; i++)
  7. {
  8. if(IsPlayerConnected(i))
  9. {
  10. if(GetPVarInt(i, "DonateRank") >= 1)
  11. {
  12. new str[128];
  13. format(str, sizeof(str), "[VIP CHAT] %s Says: %s", GetName(playerid), params);
  14. SendClientMessage(i, 0xC2A2DAAA, str);
  15. }
  16. }
  17. }
  18. }
  19. else SendClientMessage(playerid, 0xAA3333AA, "You are not a VIP!");
  20. return 1;
  21. }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement