Minigun damage
#8

Hhm, It worked fine for me when I tested it.

Try this
PHP код:
forward OnVehicleGetDamaged(playeridvehicleidweaponid);
public 
OnVehicleGetDamaged(playeridvehicleidweaponid)
{
    if( 
GetPlayerWeapon(playerid) == 38 )
    {
        new 
Float:VehicleHealth;
        
GetVehicleHealth(vehicleidVehicleHealth);
        
        
SetVehicleHealth(vehicleidVehicleHealth+0);
    }
    return 
1;

Reply


Messages In This Thread
Minigun damage - by Dan. - 24.07.2012, 16:25
Re: Minigun damage - by RedJohn - 24.07.2012, 19:12
Re: Minigun damage - by Dan. - 25.07.2012, 20:58
Re: Minigun damage - by Alexis1999 - 25.07.2012, 21:10
Re: Minigun damage - by Dan. - 26.07.2012, 07:19
Re: Minigun damage - by Alexis1999 - 26.07.2012, 08:11
Re: Minigun damage - by Dan. - 26.07.2012, 08:16
Re: Minigun damage - by Alexis1999 - 26.07.2012, 08:20
Re: Minigun damage - by Dan. - 26.07.2012, 08:30
Re: Minigun damage - by Dan. - 26.07.2012, 14:58

Forum Jump:


Users browsing this thread: 1 Guest(s)