Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd,"/armour",true)==0)
- {
- if(IsPlayerInRangeOfPoint(playerid, 10, 316.524994,-167.706985,999.661987) || IsPlayerInRangeOfPoint(playerid, 3,316.524994,-167.706985,999.661987))
- {
- if(GetPlayerMoney(playerid) < 1500)
- {
- SendClientMessage(playerid,COLOR_RED,"** Sorry, you do not have enough cash. You need $500!");
- return 1;
- }
- SetPlayerArmour(playerid,100);
- }
- else
- {
- SendClientMessage(playerid,COLOR_RED,"** Sorry, you are not in a store.");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement