21.08.2010, 05:08
It's about:
GetPlayerHealth(playerid, VehicleHealthStack[vehicleid][2]);
SetPlayerHealth(playerid, floatsub(VehicleHealthStack[vehicleid][2], 6));
if(GetPlayerHealth(playerid) >= 1)
Yes same line
GetPlayerHealth(playerid, VehicleHealthStack[vehicleid][2]);
SetPlayerHealth(playerid, floatsub(VehicleHealthStack[vehicleid][2], 6));
if(GetPlayerHealth(playerid) >= 1)
Yes same line