[Ajuda] Nascer Hospital 2
#2

PHP код:
new MorreuVaiProHospital[MAX_PLAYERS] = 0;
public 
OnPlayerSpawn(playerid)
{
if(
MorreuVaiProHospital[playerid] == 1)
{
MorreuVaiProHospital[playerid] = 0;
if(
PlayerInfo[playerid][pFaccoes] == 1)
{
SetPlayerPos(playerid,x,y,z);//troque as coords
}
else if(
PlayerInfo[playerid][pFaccoes] == 2)
{
SetPlayerPos(playerid,x,y,z);//troque as coords
}
}
return 
1;
}
public 
OnPlayerDeath(playerid,killerid,reason)
{
MorreuVaiProHospital[playerid] = 1;
return 
1;

Reply


Messages In This Thread
@EDIT - by lekinho911 - 02.09.2013, 23:02
Re: Nascer Hospital 2 - by darkxdll - 03.09.2013, 01:13
@EDIT - by lekinho911 - 03.09.2013, 01:18
Re: Nascer Hospital 2 - by darkxdll - 03.09.2013, 01:20
Re: Nascer Hospital 2 - by lekinho911 - 03.09.2013, 01:33
@EDIT - by lekinho911 - 03.09.2013, 01:39
@EDIT - by lekinho911 - 03.09.2013, 01:41
Re: Nascer Hospital 2 - by PT - 03.09.2013, 03:08

Forum Jump:


Users browsing this thread: 2 Guest(s)