29.12.2009, 17:22
Tipo ta minha linha de hospital
public OnPlayerDeath(playerid, killerid, reason)
public SetPlayerSpawn(playerid)
public OnPlayerConnect(playerid)
O cara quando morre nasce no hosp mas quando o jogador loga ele nasce na frente do hospital a nгo ser q tenha casa!
Alguem pode me ajudar?
public OnPlayerDeath(playerid, killerid, reason)
Quote:
MedicBill[playerid] = 1; |
Quote:
if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0) { new string[256]; SendClientMessage(playerid, TEAM_CYAN_COLOR, string); MedicBill[playerid] = 0; MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; PlayerInfo[playerid][pDeaths] += 1; SetPlayerPos(playerid, 1177.4150,-1323.5944,14.0696); SetPlayerInterior(playerid, 0); PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0); TogglePlayerControllable(playerid, 1); return 1; } |
Quote:
MedicBill[playerid] = 0; |
Alguem pode me ajudar?