Parachute dont open wtf? - 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: Parachute dont open wtf? (
/showthread.php?tid=336541)
Parachute dont open wtf? -
Admigo - 22.04.2012
Heey all,
I made a skydive out a andromada.
I made a command to teleport to the andromada and it gives you a parachute.
And in the andromada is a checkpoint that tele you in air.
But you cant open the parachute.
How can i fix this?
Maybe there is a animation to do the parachute animation when i walk in checkpoint?
Thanks Admigo
Re: Parachute dont open wtf? -
Ubuntu - 22.04.2012
Check your OnPlayerKeyStateChange.
Re: Parachute dont open wtf? -
Admigo - 22.04.2012
I dont have used the KEY_FIRE Button.
Re: Parachute dont open wtf? -
MP2 - 22.04.2012
What happens? Do you do the 'diving' animation or do you just fall as if you didn't have a parachute? Is the parachute on your back? Are your keys defined correctly (KEY_FIRE in GTA: SA settings)? Do you give the parachute before SetPlayerPos or after? Do you set the interior? Do you even use SetPlayerPos? You could just use SetPlayerInterior(playerid, 0); to let them fall from where the andromada interior is (above the quarry/fort carson).
Show your code.
Re: Parachute dont open wtf? -
Admigo - 22.04.2012
The keys are good in my settings. I just fall with my parachute on my back. The setplayerpos will be setted when walking in the red checkpoint in the andromada. I only used setplayerinterior,setplayerpos,setplayervirtualwor ld.