Reggae Posted August 11, 2015 Posted August 11, 2015 I want that when the player enter the marker the door brings the Andromeda opens, My function dont work local marker = createMarker ( 1800.7584228516,-2503.3488769531,13.5546875, "cylinder", 1.5, 255, 255, 0, 170 ) local andro = createVehicle ( 592, 1806.6535644531,-2485.2546386719,13.5546875 ) function looool2 (hitElement) if getElementType( hitElement ) == "player" then if vehicle then setVehicleDoorOpenRatio ( andro, 5, 1 - getVehicleDoorOpenRatio ( andro, 5 ), 2500 ) end end end addEventHandler( "onClientMarkerHit", marker, looool2)
anumaz Posted August 11, 2015 Posted August 11, 2015 Any errors? Besides, if vehicle then There's no way that will be 'true' in that script.
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