[AJUDA] Algo errado com esse comando?
#2

Quote:
Originally Posted by Gabriel6
pawn Код:
if(!strcmp(cmd, "/entrar", true))
    {
        if(IsPlayerInRangeOfPoint(playerid, 3.0,1460.2349,-1011.3485,26.8438))
        {
            SetPlayerInterior(playerid,0);
            SetPlayerPos(playerid,1460.2349,-1011.3485,26.8438);
            GameTextForPlayer(playerid, "~r~:)", 5000, 1);
        }
    return 1;
    }
    if(IsPlayerInRangeOfPoint(playerid, 3.0,1460.2349,-1011.3485,26.8438))
     {
         SetPlayerInterior(playerid,0);
      SetPlayerPos(playerid,1460.2349,-1011.3485,26.8438);
      GameTextForPlayer(playerid, "~w~:)", 5000, 1);
}
Algo errado com esse codigo?

pos quando eu coloco no GM os comandos Nгo funcionam...nenhum deles...
pawn Код:
if(!strcmp(cmd, "/entrar", true))
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0,1460.2349,-1011.3485,26.8438))
    {
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid,1460.2349,-1011.3485,26.8438);
        GameTextForPlayer(playerid, "~r~:)", 5000, 1);
    }
    else
    if(IsPlayerInRangeOfPoint(playerid, 3.0,1460.2349,-1011.3485,26.8438))
    {
        SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,1460.2349,-1011.3485,26.8438);
        GameTextForPlayer(playerid, "~w~:)", 5000, 1);
    }
    return 1;
}
Vocк fechou o comando antes mesmo de terminar de colocar o codigo nele
Reply


Messages In This Thread
[AJUDA] Algo errado com esse comando? - by Gabriel6 - 01.03.2010, 20:27
Re: [AJUDA] Algo errado com esse comando? - by speliarmos - 01.03.2010, 23:39
Re: [AJUDA] Algo errado com esse comando? - by Gabriel6 - 02.03.2010, 00:22
Re: [AJUDA] Algo errado com esse comando? - by riad12 - 02.03.2010, 14:28

Forum Jump:


Users browsing this thread: 1 Guest(s)