UnLimiTeD Posted May 24, 2014 Share Posted May 24, 2014 Hello everyone. I have a little problem with the vehicle components. I'am trying to get the position of the component "door_rf_dummy". But every time he returns false when I try to print "x". That's my script. Got anyone an idea ? local components = getVehicleComponents(getPedOccupiedVehicle(localPlayer)) local door_rf_dummy = components["door_rf_dummy"] local x,y,z = getVehicleComponentPosition( getPedOccupiedVehicle(localPlayer), door_rf_dummy ) outputChatBox(x) Link to comment
UnLimiTeD Posted May 24, 2014 Author Share Posted May 24, 2014 Found it. I had to type : getVehicleComponentPosition( getPedOccupiedVehicle(localPlayer), "door_rf_dummy") I didn´t have these string. Link to comment
nikitafloy Posted May 24, 2014 Share Posted May 24, 2014 outputChatBox(tostring(x)) -- try this 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