OnVehicleSpawn & SetVehicleHealth
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
You set the vehicle's health when it re-spawns (after its death) and assuming from that code, it will set the health to 230 which result in fire AGAIN.
You didn't understand me. I loading own vehicle, OnVehicleSpawn i set vehicle health(only 1 time).
It is sa:mp bug, but i don't know how to fix it. Certainly i can create NPC and put he in vehicle, but it not good idea.
EDIT: Put NPC/Player in vehicle and then set HP or just set > 250 HP.
Reply


Messages In This Thread
OnVehicleSpawn & SetVehicleHealth - by Johurt - 07.10.2013, 08:38
Re: OnVehicleSpawn & SetVehicleHealth - by Scrillex - 07.10.2013, 09:20
Re: OnVehicleSpawn & SetVehicleHealth - by Johurt - 07.10.2013, 11:40
Re: OnVehicleSpawn & SetVehicleHealth - by Konstantinos - 07.10.2013, 11:44
Re: OnVehicleSpawn & SetVehicleHealth - by Johurt - 07.10.2013, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)