[Ajuda] Spawn Direto - 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] Spawn Direto (
/showthread.php?tid=602061)
Spawn Direto -
MineiriinHo - 01.03.2016
Bom, sу pelo tнtulo jб deu pra saber o que eu quero nй ? kk
Bom, estou precisando do seguinte: Quando o jogador entrar no servidor, ao invйs de aparecer isso:
Irб automaticamente Spawnar o Player sem aparecer isso, nas seguintes coordenadas :
-1968.6718,111.9328,27.6875,359.7535
Re: Spawn Direto -
F1N4L - 01.03.2016
Tenta colocar, mas n lembro se essa funзгo resolve...
OnPlayerConnect
Quote:
TogglePlayerSpectating(playerid, 1);
|
OnPlayerSpawn
Quote:
TogglePlayerSpectating(playerid, 0);
|
Re: Spawn Direto -
HaRdiiZin - 01.03.2016
SetPlayerPos +
SpawnPlayer
Re: Spawn Direto -
F1N4L - 01.03.2016
Boa @HaRdiiZin
Quote:
SetPlayerPos(playerid, x, y, z);
SpawnPlayer(playerid);
|
Re: Spawn Direto -
MineiriinHo - 01.03.2016
Nгo resolveu.. Mas, o que devo fazer pra fazer isto funcionar? Tipo, eu coloco na Public OnPlayerRequestSpawn??
[Resolvido]
Re: Spawn Direto -
F1N4L - 01.03.2016
Mano, vc postou q quer spawnar quando conecta, coloca em OnPlayerConnect
Re: Spawn Direto -
GabrielCOP - 02.03.2016
pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
SetSpawnInfo(playerid,0,0,-1968.6718,111.9328,27.6875,359.7535,0,0,0,0,0,0);
SpawnPlayer(playerid);
}
Re: Spawn Direto -
Coringa_Vilao - 02.03.2016
Quote:
Originally Posted by GabrielCOP
pawn Код:
public OnPlayerRequestClass(playerid,classid) { SetSpawnInfo(playerid,0,0,-1968.6718,111.9328,27.6875,359.7535,0,0,0,0,0,0); SpawnPlayer(playerid); }
|
PHP код:
public OnPlayerRequestClass(playerid,classid){
SetSpawnInfo(playerid,0,0,-1968.6718,111.9328,27.6875,359.7535,0,0,0,0,0,0);
SpawnPlayer(playerid);
return 0;
}