Unoccupied vehicle damage
#1

pawn Код:
if(hittype == BULLET_HIT_TYPE_VEHICLE)
    {
        new Float:vhp;
        GetVehicleHealth(hitid, vhp);
        SetVehicleHealth(hitid, vhp-random(100));
    }
//my code
Look, I tried that simple command, it doesn't work, any of Unoccupied Vehicle Damage I've downloaded doesn't work.
This is part of my code that I tried, it doesn't work in-game.
Thanks in advance.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=488131
Reply
#3

What if I want all vehicles to be damaged when unoccupied without re-changing AddStaticVehicle?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)