pyk1202 Posted October 20, 2019 Share Posted October 20, 2019 (edited) Hello, my name is Ian B. and I have a little problem, maybe someone can help me. I wrote a garage script but the Gargain script queries a model hash for example adder = "3078201489" is this ID how can I say Rage that this is an adder. The vehicle then Spawnt there is a script. I thank you in advance to the helpers. Edited October 20, 2019 by pyk1202 Link to comment Share on other sites More sharing options...
runamaus Posted October 23, 2019 Share Posted October 23, 2019 Hello pyk1202, in the wiki the hash of the adder is given in hexadecimal (0xB779A091). The commands for spawning vehicles use int or uint values. They are decimal, not hexadecimal. If you convert 0xB779A091 into the decimal system, you get 8078201489. Not sure if you were just tired, but this should be programming-basics. NAPI.Vehicle.CreateVehicle(3078201489, new Vector3(2f, 3f, 4f), 0f, 0, 0); // Works 100%. Tested it like 3 Minutes ago. Regards Runa Link to comment Share on other sites More sharing options...
Kar Posted October 24, 2019 Share Posted October 24, 2019 https://wiki.rage.mp/index.php?title=Vehicles Thank me later 1 Link to comment Share on other sites More sharing options...
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