SA-MP Forums Archive
[Ajuda] Hospital - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Hospital (/showthread.php?tid=394908)



Hospital achei um topico aqui - leonardo_reis - 24.11.2012

Eu ja tenho o sistema de hospital mas queria que me ajudassem. Queria que o player morresse aparecesse em frente o hospital de LS e nгo no local de spaw

achei um topico aqui


Re: Hospital - Gleisson_. - 29.11.2012

#Off no tуpico please.


Re: Hospital - Rodney Francalim - 29.11.2012

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;
}



Re: Hospital - Vinicius_TroLL - 29.11.2012

Quote:
Originally Posted by Rodney_Francalim
View Post
EuUsoGF
kkkkkkkkkk euri