SA-MP Forums Archive
[Ajuda] Nascer Hospital 2 - 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] Nascer Hospital 2 (/showthread.php?tid=461701)



@EDIT - lekinho911 - 02.09.2013

@EDIT


Re: Nascer Hospital 2 - darkxdll - 03.09.2013

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;




@EDIT - lekinho911 - 03.09.2013

@EDIT


Re: Nascer Hospital 2 - darkxdll - 03.09.2013

Veja o cуdigo novamente eu melhorei ele .


Re: Nascer Hospital 2 - lekinho911 - 03.09.2013

@EDIT


@EDIT - lekinho911 - 03.09.2013

@EDIT


@EDIT - lekinho911 - 03.09.2013

@EDIT


Re: Nascer Hospital 2 - PT - 03.09.2013

Quote:
Originally Posted by lekinho911
Посмотреть сообщение
Tem tuto ai de gangzone um bem explicado pra iniciante gangzone dominavel ?
olha so o que eu achei

https://sampforum.blast.hk/showthread.php?tid=143646
https://sampforum.blast.hk/showthread.php?tid=181017
https://sampforum.blast.hk/showthread.php?tid=182748
https://sampforum.blast.hk/showthread.php?tid=372972

agr mau e se n consegue fazer 1