SetVehicleParamsEx at OnVehicleSpawn
#3

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.
Reply


Messages In This Thread
SetVehicleParamsEx at OnVehicleSpawn - by Audiophr3ak - 29.09.2011, 16:19
Re: SetVehicleParamsEx at OnVehicleSpawn - by antonio112 - 29.09.2011, 17:09
Re: SetVehicleParamsEx at OnVehicleSpawn - by cyber_punk - 29.09.2011, 17:58
Re: SetVehicleParamsEx at OnVehicleSpawn - by =WoR=Varth - 29.09.2011, 17:59
Re: SetVehicleParamsEx at OnVehicleSpawn - by cyber_punk - 29.09.2011, 18:02
Re: SetVehicleParamsEx at OnVehicleSpawn - by [MWR]Blood - 29.09.2011, 18:34
Re: SetVehicleParamsEx at OnVehicleSpawn - by Audiophr3ak - 29.09.2011, 18:34
Re: SetVehicleParamsEx at OnVehicleSpawn - by [MWR]Blood - 29.09.2011, 18:36
Re: SetVehicleParamsEx at OnVehicleSpawn - by Audiophr3ak - 29.09.2011, 18:39
Re: SetVehicleParamsEx at OnVehicleSpawn - by cyber_punk - 29.09.2011, 20:57

Forum Jump:


Users browsing this thread: 3 Guest(s)