-.Paradox.- Posted October 18, 2013 Posted October 18, 2013 Hello i was searching in forum to some function to let you shoot from parachute and i found this but not working, and i'm asking how i can make it work function skyD(player) local px,py,pz = getElementModel(player) setElementPosition(player, px,py,(pz + 300),false) giveWeapon ( player,46 ,1, true ) setControlState(player,"fire", true) setTimer(function() if isElement(player) then setControlState(player,"fire", false) end end, 500, 1) end addCommandHandler("shoot", skyD)
Jaysds1 Posted October 19, 2013 Posted October 19, 2013 (edited) Well, the player can't shoot from a parachute because in GTA:SA the player hands are attached to the parachute, so the only way I could think of for you is to create a weapon and use the functions for that. createWeapon -Create the weapon fireWeapon or setWeaponState -These are used for firing the weapon setWeaponTarget -Set the Co-ordinates or target for the weapon to shoot at destroyElement -When the player touches the ground or is on the ground, destroy the weapon Edited October 19, 2013 by Guest
-.Paradox.- Posted October 19, 2013 Author Posted October 19, 2013 So it's impossible? I tried to jump with parachute and i take ak-47 while skydiving and i tried to shoot but nothing happened
Jaysds1 Posted October 19, 2013 Posted October 19, 2013 well, I'm not sure, I haven't tried it, but I doubt it'll work, unless you create the weapon separate from the player it self.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now