pyk1202 2 Posted October 20 (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 by pyk1202 Share this post Link to post Share on other sites
runamaus 2 Posted October 23 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 Share this post Link to post Share on other sites
Kar 12 Posted October 24 https://wiki.rage.mp/index.php?title=Vehicles Thank me later Share this post Link to post Share on other sites