OnVehicleSpawn & SetVehicleHealth
#3

Quote:
Originally Posted by Scrillex
Посмотреть сообщение
? I know how to create and respawn vehicle... I don't understand why my script don't call OnVehicleDeath when car explodes(when i sets vehicle health 230).

Код:
public OnVehicleSpawn(vehicleid)
{
     if(tInfo[vehicleid][vOwned])
     {
          if(!IsABike(vehicleid))
          {
               SetVehicleHealth(vehicleid, 230);
          }
     }
     return 1;
}
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)