21.06.2014, 10:27
pawn Код:
if(hittype == BULLET_HIT_TYPE_VEHICLE)
{
new Float:vhp;
GetVehicleHealth(hitid, vhp);
SetVehicleHealth(hitid, vhp-random(100));
}
//my code
This is part of my code that I tried, it doesn't work in-game.
Thanks in advance.