I've been trying to add all Infernus(ID:411) stats to Bullet(ID:451). So that I can have like two infernus cars but with different modelsThe script is working fine but there are two lines that I'm stuck at
I'm using the stats that I found here for the infernus: http://gta.wikia.com/wiki/Vehicle_Stats ... an_Andreas
And here is the code.. (I know it won't work because modelflags and handlingflags are supposed to be decimal) but I have no idea where to get that decimal code from.I know that there is inside the handling.dat but I have no idea how to translate it.
setVehicleHandling(veh, "modelFlags", 40002004)
setVehicleHandling(veh, "handlingFlags", "C04000" )
According to the wiki - Property uses a decimal value, generated by a hexadecimal value. Either use 0x12345678 or tonumber ( "0x12345678" ). See projectcerbera for possible values , but ALSO in the example shown is
setVehicleHandling(v, "modelFlags", 1002000)
setVehicleHandling(v, "handlingFlags", 1000002)
.
but I've seen a lot of other scripts that use it like this: (from other scripts) but I don't know where to get that 0xXXXXX value from).
setVehicleHandling(veh, "modelFlags", 0x40000000)
setVehicleHandling(veh, "handlingFlags", 0x10200008 )
Thank's for reading and please help me