Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.53 KB | None | 0 0
  1.     if(strcmp(cmd,"/armour",true)==0)
  2.     {
  3.             if(GetPlayerMoney(playerid) < 1500)
  4.             {
  5.             SendClientMessage(playerid,COLOR_RED,"** Sorry, you do not have enough cash. You need $1500!");
  6.             }
  7.             else
  8.             {
  9.             SetPlayerArmour(playerid,100);
  10.             }
  11.         if(!IsPlayerInRangeOfPoint(playerid, 10, 316.524994,-167.706985,999.661987) || IsPlayerInRangeOfPoint(playerid, 3,316.524994,-167.706985,999.661987))
  12.             {
  13.             SendClientMessage(playerid,COLOR_RED,"** Sorry, you are not in a store.");
  14.             }
  15.       return 1;
  16.       }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement