[Ajuda] Loteria Com lag -
wallacematheus - 05.11.2011
Bem gente quando eu entro na loteria da o maior lag n sei pq pq os outros lugares estгo normal mais a loteira da lag alguem sabe me informar a soluзгo disso?
Se precisarem de alguma coisa do meu gm pode pedir que estarei postando aki...
Re: [Ajuda] Loteria Com lag -
ViniBorn - 05.11.2011
Posta o teleporte da loteria.
Re: [Ajuda] Loteria Com lag -
wallacematheus - 05.11.2011
pawn Код:
else if (PlayerToPoint(3.0, playerid,1631.8547,-1172.5637,24.0843))
{
//Loterica entrada
SetPlayerPos(playerid, 832.6270,7.2666,1004.1797);
GameTextForPlayer(playerid, "~w~Loterica BDE",5000,1);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
}
Re: [Ajuda] Loteria Com lag -
ViniBorn - 05.11.2011
Parece normal.
Tem objetos ou veнculos criados nas proximidades?
Re: [Ajuda] Loteria Com lag -
wallacematheus - 05.11.2011
Nгo...Sу tem 4 puckups que й para localizar onde comprar o bilhete
Re: [Ajuda] Loteria Com lag -
Dr_Pawno - 05.11.2011
pawn Код:
else if(IsPlayerInRangeOfPoint(playerid, 3.0, 1631.8547, -1172.5637, 24.0843))
{
//Loterica entrada
SetPlayerPos(playerid, 832.6270,7.2666,1004.1797);
GameTextForPlayer(playerid, "~w~Loterica BDE",5000,1);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
return 1;
}
@Edit:
Se eu fosse vocк (Nгo й o Filme :P) eu trocaria todos os PlayerToPoint por IsPlayerInRangeOfPoint.
Re: [Ajuda] Loteria Com lag - [S]trong - 05.11.2011
pawn Код:
#define PlayerToPoint(%1,%2,%3,%4,%5) IsPlayerInRangeOfPoint(%2,%1,%3,%4,%5)
...
Re: [Ajuda] Loteria Com lag -
wallacematheus - 05.11.2011
Bem achei uma parada perdo do interior da loteria ...so q eles n aparece fica tipo invisivel...se eu colocar outra dimensao para a loteria ela funciona? se sim, me ajudem a fazer isso
Re: [Ajuda] Loteria Com lag -
ViniBorn - 05.11.2011
No comando de entrar
pawn Код:
SetPlayerVirtualWorld(playerid,1);
No comando de sair
pawn Код:
SetPlayerVirtualWorld(playerid,0);