19.10.2012, 12:44
Hello whats the code so when you crash a car it takes a bit of you're health down like LS-RP
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
new Float:hp;
GetPlayerHealth(playerid, hp); //if not work, try GetPlayerHealth(playerid, hp, sizeof(hp));
if(IsPlayerInAnyVehicle(playerid))
SetPlayerHealth(playerid, hp - 1.0);
return 1;
}