Bei diesem Krankenhaussystem ist das so dass ich nicht mehr Spielen kann wenn ich sterbe kann ihr mir jemand das proglem sagen ?
if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0)
{
if(PlayerInfo[playerid][pAdminDuty] == 1) return 1;
if(FirstSpawn[playerid] != 1)
{
SetRealMoney(playerid, ScriptMoney[playerid]);
PlayerInfo[playerid][pDeaths] += 1;
SetPlayerHealth(playerid, 50.0);
SafeSetPlayerInterior(playerid, 3);
rand = random(sizeof(gMedicSpawns));
SafeSetPlayerPos(playerid, gMedicSpawns[rand][0], gMedicSpawns[rand][1], gMedicSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(playerid, 0);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~w~Sie werden belebt ...", 50000, 0);
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
if(PlayerInfo[playerid][pRegularRank] == 1)
{
SetTimerEx("Ausweisung aus dem Krankenhaus", 10, 0, "i", playerid);
}
else if(PlayerInfo[playerid][pRegularRank] == 2)
{
SetTimerEx("Ausweisung aus dem Krankenhaus", 10, 0, "i", playerid);
}
else if(PlayerInfo[playerid][pRegularRank] == 3)
{
SetTimerEx("Ausweisung aus dem Krankenhaus", 10, 0, "i", playerid);
}
else if(PlayerInfo[playerid][pRegularRank] == 4)
{
SetTimerEx("Ausweisung aus dem Krankenhaus", 10, 0, "i", playerid);
}
else if(PlayerInfo[playerid][pRegularRank] == 6)
{
SetTimerEx("Ausweisung aus dem Krankenhaus", 10, 0, "i", playerid);
}
else if(PlayerInfo[playerid][pAdmin] >= 1)
{
SetTimerEx("Ausweisung aus dem Krankenhaus", 10, 0, "i", playerid);
}
else if(PlayerInfo[playerid][pAdmin] >= 4)
{
SetTimerEx("Ausweisung aus dem Krankenhaus", 10, 0, "i", playerid);
}
else
{
SetTimerEx("Ausweisung aus dem Krankenhaus", 10, 0, "i", playerid);
}
PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
return 1;
}
}