Captain Cody Posted July 24, 2014 Share Posted July 24, 2014 How would I make a rope/winch system so people can pull other cars with any truck / car with a winch installed Or just have a rope people can buy to pull cars How would I set this up Link to comment
_DrXenon Posted July 25, 2014 Share Posted July 25, 2014 I have an idea: first of all, createSWATRope if this function is possible... ( between the car and the player that is gonna pull ) Anyway, second of all, warp a ped to that vehicle ( that you want to pull ) then set the ped alpha ( that you created ) to 0 and warp him to vehicle with: setElementAlpha and warpPedIntoVehicle. Then use the input functions: setPedAnalogControlState and getPedAnalogControlState to get the state of the player that pull the car and to set it for the ped that is in the car ( that have alpha as 0 ) like : if getPedAnalogControlState(you,"forwards") == 1 then setPedAnalogControlState(ped,"accelerate",1) end Link to comment
Captain Cody Posted July 26, 2014 Author Share Posted July 26, 2014 hmm I'll have to try to do it I cant script for shit though Link to comment
_DrXenon Posted July 26, 2014 Share Posted July 26, 2014 I may give it a try when i am not busy! Link to comment
Captain Cody Posted September 16, 2014 Author Share Posted September 16, 2014 I know this topic is a bit old but Im still trying to figure out how to do this, Ive tryed a few differnt things but none of them worked is there any way to make it like a tow truck's chain? Link to comment
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