[Ajuda] Loteria Com lag
#1

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...
Reply
#2

Posta o teleporte da loteria.
Reply
#3

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;
            }
Reply
#4

Parece normal.

Tem objetos ou veнculos criados nas proximidades?
Reply
#5

Nгo...Sу tem 4 puckups que й para localizar onde comprar o bilhete
Reply
#6

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.
Reply
#7

pawn Код:
#define PlayerToPoint(%1,%2,%3,%4,%5) IsPlayerInRangeOfPoint(%2,%1,%3,%4,%5)
...
Reply
#8

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
Reply
#9

No comando de entrar

pawn Код:
SetPlayerVirtualWorld(playerid,1);
No comando de sair

pawn Код:
SetPlayerVirtualWorld(playerid,0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)