Ajuda Hospital
#1

Tipo ta minha linha de hospital


public OnPlayerDeath(playerid, killerid, reason)
Quote:

MedicBill[playerid] = 1;

public SetPlayerSpawn(playerid)
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;
}

public OnPlayerConnect(playerid)
Quote:

MedicBill[playerid] = 0;

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?
Reply


Messages In This Thread
Ajuda Hospital - by [NoD]Gui - 29.12.2009, 17:22
Re: Ajuda Hospital - by pmkrz - 29.12.2009, 17:42
Re: Ajuda Hospital - by Eddye - 16.02.2015, 01:27

Forum Jump:


Users browsing this thread: 1 Guest(s)