pepsi18 Posted May 4, 2014 Share Posted May 4, 2014 help as I can make the infernus overstep the objects function vehicle(thevehicle) local id = getElementModel ( theVehicle ) if id == 411 then getElementCollisionsEnabled ( theVehicle,false ) end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), vehicle ) Link to comment
cheez3d Posted May 4, 2014 Share Posted May 4, 2014 addEventHandler("onVehicleEnter",root,function() if getElementModel(source) == 411 then setElementCollisionsEnabled(source,false); end; end); 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