SA-MP Forums Archive
[Ajuda] botao de spawn - 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] botao de spawn (/showthread.php?tid=285859)



[Ajuda] botao de spawn - DrTHE - 25.09.2011

bem se nao me engano tem como bloquear o botao de spawn qd vc entra no servidor??


Re: ajudinha botao de spawn - WLSF - 25.09.2011

Bloquear ou Retirar?

para retirar basta por na funзгo que loga no seu servidor
pawn Код:
//OnPlayerConnect
SpawnPlayer(playerid);



Re: ajudinha botao de spawn - Dr_Pawno - 25.09.2011

Manda coloca um Dialog no OnPlayerRequestClass e se ele spawna antes de faze algo no dialog ele й kickado!!

The following errors occurred with your submission:
This forum requires that you wait 120 seconds between posts. Please try again in 3 seconds.


Re: ajudinha botao de spawn - Pharrel - 25.09.2011

pawn Код:
forward SpawnarPlayer(playerid);
public SpawnarPlayer(playerid)
{
SpawnPlayer(playerid);
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
SetTimerEx("SpawnarPlayer", 300, false, "i", playerid);
return 1;
}



Re: [Ajuda] botao de spawn - DrTHE - 25.09.2011

voce nao intendeu eu queria tipo qd vc apertar ele nao acontecer nada '-'


Re: [Ajuda] botao de spawn - Dr_Pawno - 25.09.2011

Aн n da =(

Pelo menos й o que eu acho...

This forum requires that you wait 120 seconds between posts. Please try again in 45 seconds.
This forum requires that you wait 120 seconds between posts. Please try again in 18 seconds.
This forum requires that you wait 120 seconds between posts. Please try again in 5 seconds.
This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds.


Re: [Ajuda] botao de spawn - DrTHE - 25.09.2011

tenso eu vi um servidor assim e vim correndo aki D:


Re: [Ajuda] botao de spawn - Pharrel - 25.09.2011

pawn Код:
public OnPlayerRequestClass(playerid)
{
return 0;
}
public OnPlayerRequestSpawn(playerid)
{
return 0;
}



Re: [Ajuda] botao de spawn - WLSF - 25.09.2011

O melhor seria vocк retirar o botгo e deixar em CameraLookAt, fica atй mais bonito (:


Re: [Ajuda] botao de spawn - Macintosh - 25.09.2011

pawn Код:
TogglePlayerSpectating(playerid, 1);