DarkLink Posted June 16, 2011 Posted June 16, 2011 I want to put lights always off when entering a vehicle that has the engine off.. was working before, but not anymore function setLights () if ( (getVehicleEngineState ( source ) ) == false ) then setVehicleOverrideLights ( source, 1 ) end end addEventHandler("onVehicleEnter", getRootElement(), setLights) I hope u guys can help thanks anyway EDIT: FIXED, Changed from onVehicleEnter to onVehicleStartEnter and it works now . Thanks anyway. u can close.
DarkLink Posted June 17, 2011 Author Posted June 17, 2011 Oops I answered than noticed the edit. eheh thanks anyway bro
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