Hospital Bug
#10

You can either change "I" to playerid, or change the function too:

pawn Code:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
      if(IsPlayerConnected(i))
      {
            new cut = deathcost; //PlayerInfo[playerid][pLevel]*deathcost;
            //SafeGivePlayerMoney(i, -cut);
            format(string, sizeof(string), "Doctor: Your Medical Bill comes to $%d, Have a nice day.", cut);
            SendClientMessage(i, TEAM_CYAN_COLOR, string);
            TogglePlayerControllable(i, 1);
        MedicBill[i] = 0;
        MedicTime[i] = 0;
        NeedMedicTime[i] = 0;
        PlayerInfo[i][pDeaths] += 1;
        PlayerFixRadio(i);
        ClearAnimations(i);
        SetPlayerSpawn(i);
          SetCameraBehindPlayer(i);
        }
    return 1;
    }
Reply


Messages In This Thread
Hospital Bug - by MrXavier - 31.10.2009, 13:47
Re: Hospital Bug - by Lilcuete - 31.10.2009, 13:54
Re: Hospital Bug - by MrXavier - 31.10.2009, 14:07
Re: Hospital Bug - by MrXavier - 31.10.2009, 18:07
Re: Hospital Bug - by [NYRP]Mike. - 31.10.2009, 18:17
Re: Hospital Bug - by MrXavier - 31.10.2009, 18:35
Re: Hospital Bug - by [NYRP]Mike. - 31.10.2009, 18:38
Re: Hospital Bug - by Lilcuete - 31.10.2009, 18:43
Re: Hospital Bug - by MrXavier - 31.10.2009, 19:03
Re: Hospital Bug - by [NYRP]Mike. - 31.10.2009, 19:03

Forum Jump:


Users browsing this thread: 2 Guest(s)