Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CreateDynamic3DTextLabel("/getparachute",COLOR_YELLOW,1544.2,-1353.4,329.4+0.6,10.0);
- CreatePickup(371, 23, 1544.2,-1353.4,329.4); //LS towertop
- CreatePickup(371, 23, 1536.0, -1360.0, 1150.0); //LS towertop
- //--------------------------------------------------------------------------------//
- //--------------------------------------------------------------------------------//
- CMD:getparachute(playerid, params[]) {
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1544.2, -1353.4, 329.4)) { // Startower parachute
- if(PlayerInfo[playerid][pGuns][11] == 46)
- RemovePlayerWeapon(playerid, 46);
- if(PlayerInfo[playerid][pGuns][11] != 46) {
- GivePlayerValidWeapon(playerid, 46, 99999);
- }
- else SendClientMessage(playerid, COLOR_GREY,"You already have a parachute.");
- }
- else SendClientMessage(playerid, COLOR_GREY,"You're not close enough to the parachute on Startower.");
- return 1;
- }
- //---------------------------------------------------------------//
- //---------------------------------------------------------------//
- if(IsPlayerInRangeOfPoint(i,2.0,1544.2,-1353.4,329.4))
- { // Startower parachute
- if(PlayerInfo[i][pGuns][11] != 46)
- {
- GivePlayerValidWeapon(i, 46, 99999);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement