31.10.2009, 18:17
Your using LA-RP Right?, i had this bug too, Search new cut; and goto the second one, should look like this:
replace it with this:
pawn Code:
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);
pawn Code:
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);