Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:openlocker(playerid, params[])
- {
- if(IsPlayerInRangeOfPoint(playerid,3.0,278.4005,-175.9992,999.6060))
- {
- if(PlayerInfo[playerid][pDonator] >= 3)
- {
- GivePlayerValidAdminWeapon(playerid, 27, 99999);
- GivePlayerValidAdminWeapon(playerid, 29, 99999);
- GivePlayerValidAdminWeapon(playerid, 31, 99999);
- }
- else return SendClientMessage(playerid, COLOR_GREY, "You are not near the locker");
- }
- else return SendClientMessage(playerid,COLOR_GREY,"You are not a VIP");
- return 1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment