Posts: 9
Threads: 5
Joined: Jul 2011
Reputation:
0
Where is a good newbie spawn!
Posts: 9
Threads: 5
Joined: Jul 2011
Reputation:
0
and i have one problem when player spawns he dies what can be wrong in this code !
if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0)
{
new string[256];
new cut = deathcost;
GivePlayerMoney(playerid, -cut);
format(string, sizeof(string), "DOC: Your Medical Bill comes to $%d, Have a nice day.", cut);
SendClientMessage(playerid, TEAM_CYAN_COLOR, string);
MedicBill[playerid] = 0;
MedicTime[playerid] = 0;
NeedMedicTime[playerid] = 0;
PlayerInfo[playerid][pDeaths] += 1;
SetPlayerHealth(playerid, 50);
return 0;
}