Lally Posted September 11, 2016 Share Posted September 11, 2016 Hello want some help with community MTA signaling a script like this just go link Link to comment
Lally Posted September 11, 2016 Author Share Posted September 11, 2016 https://community.multitheftauto.com/index.php?p=resources&s=details&id=1305 sorry Link to comment
Captain Cody Posted September 11, 2016 Share Posted September 11, 2016 setTimer createMarker attachElements setMarkerColor Link to comment
Walid Posted September 11, 2016 Share Posted September 11, 2016 3 minutes ago, CodyL said: setTimer createMarker attachElements setMarkerColor All what you need is isPedInVehicle , getPedOccupiedVehicle , getVehicleOccupants , setVehicleLightState , setVehicleHeadLightColor , setVehicleOverrideLights , setTimer, isTimer, killTimer . Link to comment
_DrXenon Posted September 11, 2016 Share Posted September 11, 2016 1 minute ago, Walid said: All what you need is isPedInVehicle , getPedOccupiedVehicle , getVehicleOccupants , setVehicleLightState , setVehicleHeadLightColor , setVehicleOverrideLights , setTimer, isTimer, killTimer . codyL was right.. to create such blinkers you need to create a small corona ( type of marker ) and attach it to the vehicle. but of course the functions he mentioned is not quite enough since different cars have different sizes ( car width ) therefore, you probably need to check the bounding box of the car as-well. Link to comment
Captain Cody Posted September 11, 2016 Share Posted September 11, 2016 You're also going to have to define them into a table. But with this you only need one light, and just do a negative value for the x on the other light. Link to comment
draobrehtom Posted September 12, 2016 Share Posted September 12, 2016 14 hours ago, SuperCroz said: codyL was right.. to create such blinkers you need to create a small corona ( type of marker ) and attach it to the vehicle. but of course the functions he mentioned is not quite enough since different cars have different sizes ( car width ) therefore, you probably need to check the bounding box of the car as-well. And you can get position of the dummy's light. It's will be more easy to get custom coordinates for every vehicle. getVehicleComponentPositiontaillights2headlights2 taillightsheadlights Link to comment
Lally Posted September 12, 2016 Author Share Posted September 12, 2016 To be understood that I am not a great experience and I can not manage with this script. Link to comment
KariiiM Posted September 12, 2016 Share Posted September 12, 2016 53 minutes ago, Lally said: To be understood that I am not a great experience and I can not manage with this script. You have to try Link to comment
Captain Cody Posted September 12, 2016 Share Posted September 12, 2016 get vehicle component location doesn't work for lights. All you need to do is get the left or right location then a apply a negative value to that to get the other side. Link to comment
Lally Posted September 12, 2016 Author Share Posted September 12, 2016 Ma far exceeds this script can help me with a model and I go to him and can help me out or if I would have made them great. 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