29.09.2011, 17:58
Well it depends on when you want some params set. You should use GetVehicleParamsEx first, then set. If you are wanting some params set when you first create a vehicle (say in OnGameModeInit) you need to do your get and set in OnGameModeInit seeing that OnVehicleSpawn does not seem to get called on newly created vehicles only when a vehicle Respawns. Not sure why the callback is named as such, would make more sense calling it OnVehicleRespawn.