OnVehicleSpawn & SetVehicleHealth
#1

Код:
public OnVehicleSpawn(vehicleid)
{
     if(tInfo[vehicleid][vOwned])
     {
          if(!IsABike(vehicleid))
          {
               SetVehicleHealth(vehicleid, 230);
          }
     }
     return 1;
}
Vehicle explodes but OnVehicleDeath don't call. How to fix it?
P.S: Timers can't help ;/
P.P.S: 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.
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)