17.07.2012, 12:48
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(IsPlayerInAnyVehicle(playerid))
{
TextDrawHideForPlayer(playerid,speed[playerid]);
TextDrawHideForPlayer(playerid,fuel[playerid]);
KillTimer(FuelSysTimer[playerid]);
KillTimer(SpeedoSysTimer[playerid]);
}
Hospitalized[playerid] = 1;
MySQL_SetInteger(PlayerSQLID[playerid], "HospitalTime", 30, "accounts");
HospitalTime[playerid] = 30;
dohospital(playerid);
return 1;
}