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)