Guest User

locker

a guest
Jul 12th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. CMD:openlocker(playerid, params[])
  2. {
  3. if(IsPlayerInRangeOfPoint(playerid,3.0,278.4005,-175.9992,999.6060))
  4. {
  5. if(PlayerInfo[playerid][pDonator] >= 3)
  6. {
  7. GivePlayerValidAdminWeapon(playerid, 27, 99999);
  8. GivePlayerValidAdminWeapon(playerid, 29, 99999);
  9. GivePlayerValidAdminWeapon(playerid, 31, 99999);
  10. }
  11. else return SendClientMessage(playerid, COLOR_GREY, "You are not near the locker");
  12. }
  13. else return SendClientMessage(playerid,COLOR_GREY,"You are not a VIP");
  14. return 1;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment