If a player is in a vehicle and they die, the speedo still displays..
#1

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;
}
That should hide it, right? But it doesn't.
Reply


Messages In This Thread
If a player is in a vehicle and they die, the speedo still displays.. - by Dokins - 17.07.2012, 12:48
Re: If a player is in a vehicle and they die, the speedo still displays.. - by newbienoob - 17.07.2012, 12:50
Re: If a player is in a vehicle and they die, the speedo still displays.. - by Dokins - 17.07.2012, 12:57

Forum Jump:


Users browsing this thread: 1 Guest(s)