[Pedido] Meu comando /sair, tб estranho kkk
#1

Galera, alguem pode tentar me dizer por que quando eu digito esse comando ele me retorna a mensagem de que ele nгo й vбlido??

pawn Код:
cmd(sair, playerid, params[])
{
    #pragma unused params
    noab2[playerid] = true;
    if(PlayerToPoint(10.0,playerid,1105.1796,1529.5697,7.8212))
        SafeSetPlayerPos(playerid,2695.5396,-1704.4584,11.8438);

    if(IsPlayerConnected(playerid))
    {
        for(new i=0; i<sizeof(BizzInfo); i++)
        {
            if(PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ]))
            {
                SetPlayerInterior(playerid,0);
                Player[playerid][pInt] = 0;
                SafeSetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]);
                Player[playerid][pLocal] = 255;
            }
        }
        new vid = GetPlayerVehicleID(playerid);
        if(CarShopping[playerid] == true)
        {
            CarShopping[playerid] = false;
            DestroyVehicle(ShopCar[playerid]);
            carbrowse[playerid] = 0;
            Kick(playerid);
        }
        if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        {
            RemovePlayerFromVehicle(playerid);
            TogglePlayerControllable(playerid, true);
        }
        for(new i=0; i<sizeof(AluguelCar); i++)
        {
            if(vid == AluguelCar[i])
            {
                RemovePlayerFromVehicle(playerid);
                Descongelar(playerid);
            }
        }
        if(PlayerToPoint(3, playerid,HouseInfo[Incasa[playerid]][hExitx], HouseInfo[Incasa[playerid]][hExity], HouseInfo[Incasa[playerid]][hExitz]))
        {
            if(Incasa[playerid] < 64 || Incasa[playerid] > 81)
            {
                SetPlayerInterior(playerid,0);
                Player[playerid][pInt] = 0;
            }
            if(Incasa[playerid] >= 64 && Incasa[playerid] <= 82)
            {
                Congelar(playerid);
                SetTimerEx("Descongelar", 700, 0, "i", playerid);
                SetPlayerInterior(playerid,18);
                Player[playerid][pInt] = 18;
            }
            SafeSetPlayerPos(playerid,HouseInfo[Incasa[playerid]][hEntrancex],HouseInfo[Incasa[playerid]][hEntrancey],HouseInfo[Incasa[playerid]][hEntrancez]);
            SetPlayerVirtualWorld(playerid,0);
            Player[playerid][pLocal] = 255;
        }
        if(PlayerToPoint(3.0,playerid,1105.1796,1529.5697,7.8212))
            SafeSetPlayerPos(playerid,2695.5396,-1704.4584,11.8438);
    }
    return true;
}
Reply


Messages In This Thread
Meu comando /sair, tб estranho kkk - by Pedro_BML - 28.07.2012, 19:43
Re: Meu comando /sair, tб estranho kkk - by MatriXBorn - 28.07.2012, 19:49
Re: Meu comando /sair, tб estranho kkk - by RebeloX - 28.07.2012, 19:51
Re: Meu comando /sair, tб estranho kkk - by Pedro_BML - 28.07.2012, 20:01
Re: Meu comando /sair, tб estranho kkk - by Pedro_BML - 28.07.2012, 20:14
Re: Meu comando /sair, tб estranho kkk - by BreakDriFT - 28.07.2012, 20:34
Re: Meu comando /sair, tб estranho kkk - by Pedro_BML - 29.07.2012, 02:06
Re: Meu comando /sair, tб estranho kkk - by StreetGT - 29.07.2012, 02:08
Re: Meu comando /sair, tб estranho kkk - by Pedro_BML - 29.07.2012, 02:25

Forum Jump:


Users browsing this thread: 1 Guest(s)