Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:gate1(playerid, params[])
- {
- if(PlayerInfo[playerid][Vip] >= 1)
- {
- if(IsPlayerInRangeOfPoint(playerid, 7, 2873.9949,-331.1090,2.2824)) // VIP Gate
- {
- if(!VIPGateStatus)
- {
- VIPGateStatus = 1;
- MoveDynamicObject(VIPGate, 2875.19995117, -330.50000000, -2.79999995, 3);
- }
- else
- {
- VIPGateStatus = 0;
- MoveDynamicObject(VIPGate, 2875.19995117, -330.50000000, 3.90000010, 3);
- }
- return 1;
- }
- }
- else return SendClientMessage(playerid,red,"ERROR: You need to be {FF0000}[V.I.P] {00FF40} 1 to use this command");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment