toribio

toribio

Nov 10th, 2009
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.72 KB | None | 0 0
  1. if(strcmp(cmd, "/kitvip", true) == 0)
  2. {
  3.     if(PlayerInfo[playerid][pDonateRank] > 1)
  4.     {
  5.         if(PlayerToPoint(3.0,playerid,1796.476,-1165.508,23.195))
  6.         {
  7.             if(GetPlayerMoney >= 5000)
  8.             {
  9.                 SetPlayerArmour(playerid, 100);
  10.                 SafeGivePlayerWeapon(playerid, 30, 200);
  11.                 SafeGivePlayerWeapon(playerid, 24, 200);
  12.                 SafeGivePlayerWeapon(playerid, 29, 200);
  13.                 SafeGivePlayerWeapon(playerid, 16, 200);
  14.                 SafeGivePlayerMoney(playerid, -5000);
  15.                 SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você pegou o KitVip por 5,000$");
  16.             } else {
  17.                 SendClientMessage(playerid, COLOR_LIGHTRED, "Você não tem 5,000$");
  18.             }
  19.         } else {
  20.             SendClientMessage(playerid, COLOR_LIGHTRED, "Você não é VIP");
  21.         }
  22.     }
  23.     return 1;
  24. }
Add Comment
Please, Sign In to add comment