[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=186310)
[Ajuda]Hospital -
keller012 - 28.10.2010
Eu fiz um hospital so que nao da dando certo.
A frase do spawn no Hospital aparece, mas nao da spawn la.
O cara da indo pra HQ dele, normal.So que a frase aparece
Код:
if(Morto[playerid] == 1)
{
SetPlayerPos(playerid,2028.4056,-1403.8282,17.2399);
SendClientMessage(playerid, COLOR_LIGHTRED, "Teste Hospital.");
GivePlayerMoney(playerid,-100);
Morto[playerid] = 0;
}
Re: [Ajuda]Hospital -
Shelby - 28.10.2010
Tente assim:
Код:
if(Morto[playerid] == 1)
{
SetPlayerPos(playerid,2028.4056,-1403.8282,17.2399);
SendClientMessage(playerid, COLOR_LIGHTRED, "Teste Hospital.");
GivePlayerMoney(playerid,-100);
Morto[playerid] = 0;
return 1;
}
Re: [Ajuda]Hospital -
zSuYaNw - 28.10.2010
pawn Код:
if(Morto[playerid] == 1)
{
SetPlayerPos(playerid,2028.4056,-1403.8282,17.2399);
SendClientMessage(playerid, COLOR_LIGHTRED, "Teste Hospital.");
GivePlayerMoney(playerid,-100);
Morto[playerid] = 0;
return 0;// para ele parar da qui =D
}
Re: [Ajuda]Hospital -
keller012 - 28.10.2010
eu coloquei ele em cada respawn de gg
ai deu certo
mas vlw pela ajuda xD
Re: [Ajuda]Hospital -
ipsBruno - 28.10.2010
Quote:
Originally Posted by [Full]Garfield[XDB]
pawn Код:
if(Morto[playerid] == 1) { SetPlayerPos(playerid,2028.4056,-1403.8282,17.2399); SendClientMessage(playerid, COLOR_LIGHTRED, "Teste Hospital."); GivePlayerMoney(playerid,-100); Morto[playerid] = 0; return 0;// para ele parar da qui =D }
|
Isto irб parar todas funзхes,й
true
Re: [Ajuda]Hospital -
zSuYaNw - 28.10.2010
Quote:
Originally Posted by [FeK]DraKiNs
Isto irб parar todas funзхes,й true
|
depende do code dele =***