SA-MP Forums Archive
[Ajuda] Bug ao sair de interiores - 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] Bug ao sair de interiores (/showthread.php?tid=399245)



Bug ao sair de interiores - SouLMito - 13.12.2012

Quando meu jogador sai da delegacia ele buga, os itens nгo aparecem =/

Comando /entrar:
Код:
if(IsPlayerInRangeOfPoint(playerid, 3.0, 1554.3888,-1675.6448,16.1953)) // Delegacia
	{
	    SetPlayerPos(playerid, 246.783996,63.900199,1003.640625);
	    SetPlayerInterior(playerid, 6);
	    
	}
Comando /sair:
Код:
if(IsPlayerInRangeOfPoint(playerid, 3.0, 246.783996,63.900199,1003.640625))
	{
	    SetPlayerPos(playerid, 1554.3888,-1675.6448,16.1953);
	}



Re: Bug ao sair de interiores - JonathanFeitosa - 13.12.2012

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 3.0, 246.783996,63.900199,1003.640625))
{
     SetPlayerPos(playerid, 1554.3888,-1675.6448,16.1953);
     SetPlayerInterior(playerid, 0);
}



Re: Bug ao sair de interiores - SouLMito - 13.12.2012

Obrigado. Funcionou