SA-MP Forums Archive
change star tower parachute spawn help please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: change star tower parachute spawn help please (/showthread.php?tid=527276)



change star tower parachute spawn help please - Lukka_Vercetti - 21.07.2014

hello guys i been trying to edit the location of the parachute but i just cant doit captain, im to much of a nub

any chance someone could take a look please and help +rep will be given
http://pastebin.com/1a5d15Pf

want to change the location to here, used /save for cords
AddPlayerClass(122,1992.6650,-2323.3433,13.5469,289.5375,0,0,0,0,0,0); // new parachute


Respuesta: change star tower parachute spawn help please - angelxeneize - 21.07.2014

CreateDynamic3DTextLabel("/getparachute",COLOR_YELLOW,1992.6650,-2323.3433,13.5469+0.6,10.0);
CreatePickup(371, 23, 1992.6650,-2323.3433,13.5469); //LS towertop



//--------------------------------------------------------------------------------//
//--------------------------------------------------------------------------------//

CMD:getparachute(playerid, params[]) {
if(IsPlayerInRangeOfPoint(playerid, 2.0, 1992.6650,-2323.3433,13.5469)) { // new 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;
}


Re: change star tower parachute spawn help please - Lukka_Vercetti - 21.07.2014

cheers bud +REP'd