[Ajuda] Hospital
#3

pawn Code:
new bool:EuUsoGF[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    EuUsoGF[playerid] = false;
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    EuUsoGF[playerid] = true;
    return 1;
}

public OnPlayerSpawn(playerid)
{
    if(EuUsoGF[playerid]) return EuUsoGF[playerid] = false, SetPlayerPos(playerid, X, Y, Z); // Onde X, Y e Z sгo as coordenadas onde vocк quer que o jogador spawne, no caso, o hospital.
    return 1;
}
Reply


Messages In This Thread
Hospital achei um topico aqui - by leonardo_reis - 24.11.2012, 15:11
Re: Hospital - by Gleisson_. - 29.11.2012, 00:19
Re: Hospital - by Rodney Francalim - 29.11.2012, 10:17
Re: Hospital - by Vinicius_TroLL - 29.11.2012, 12:28

Forum Jump:


Users browsing this thread: 2 Guest(s)