Castillo Posted April 17, 2014 Posted April 17, 2014 function hunter ( thePlayer ) local car = getPedOccupiedVehicle ( thePlayer ) for _, e in pairs ( getElementsByType ( "racepickup" ) ) do local t = getElementData ( e, "type" ) if ( t and t == "vehiclechange" ) then local v = getElementData ( e, "vehicle" ) if ( v and tonumber ( v ) == 425 ) then local hunterX, hunterY, hunterZ = getElementPosition ( e ) setElementPosition ( car, hunterX, hunterY, hunterZ ) break end end end end addCommandHandler ( "go", hunter ) Try it. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted April 17, 2014 Posted April 17, 2014 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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