How to make when you crash health gos down?
#2

PHP код:
        new veh,Float:vhp,Float:health;
        
veh GetVehicleID(playerid);
        
GetVehicleHealth(vehicleid,vhp);
        if(
vhp<250.0)
        {
          
GetPayerHealth(playerid,health);
          
SetPlayerHealth(playerid,health-5);
        } 
Am I somewhere close?
Reply


Messages In This Thread
How to make when you crash health gos down? - by Guitar - 18.06.2013, 10:33
Re: How to make when you crash health gos down? - by Goldilox - 18.06.2013, 11:48
Re: How to make when you crash health gos down? - by JimmyCh - 18.06.2013, 12:20
Re: How to make when you crash health gos down? - by Goldilox - 18.06.2013, 17:04

Forum Jump:


Users browsing this thread: 1 Guest(s)