[Ajuda] Por que isso nгo funciona?
#1

Bom, criei esse Timer para verificar quando o player chegar perto da coordenada especificada e ai ele teleportar... Ai criei essa variбvel para que ele nгo fique saindo e entrando infinitamente, mas acontece que nгo estб funcionando, se alguйm puder ajudar eu agradeзo.
PHP код:
// OnPlayerConnect
LiberarES[playerid] = 0;
public 
TimerEntradas(playerid)
{
    if(
PlayerToPoint(1.0playerid1481.0116, -1771.419118.7958) && LiberarES[playerid] == 0)
    {
        if(!
IsPlayerInAnyVehicle(playerid))
        {
            
SetPlayerPos(playerid, );
            
SetPlayerInterior(playerid, );
            
SetCameraBehindPlayer(playerid);
            
LiberarES[playerid] = 1;
            
GetPlayerPos(playeridpEntradaX[playerid], pEntradaY[playerid], pEntradaZ[playerid]);
        }
    }
    else if(!
PlayerToPoint(3.0playeridpEntradaX[playerid], pEntradaY[playerid], pEntradaZ[playerid]))
    {
        if(
LiberarES[playerid] == 1)
        {
            
LiberarES[playerid] = 0;
        }
    }
    return 
1;

Reply


Messages In This Thread
Por que isso nгo funciona? - by WiliHacking - 26.03.2019, 03:32
Re: Por que isso nгo funciona? - by Scorpion659 - 26.03.2019, 19:16
Re: Por que isso nгo funciona? - by WiliHacking - 26.03.2019, 20:51
Re: Por que isso nгo funciona? - by MtPlayerZ - 26.03.2019, 21:49
Re: Por que isso nгo funciona? - by WiliHacking - 27.03.2019, 08:12
Re: Por que isso nгo funciona? - by Felipealves - 27.03.2019, 08:38
Re: Por que isso nгo funciona? - by WiliHacking - 27.03.2019, 12:17

Forum Jump:


Users browsing this thread: 2 Guest(s)