[AJUDA] /sair da casa nгo funciona!!
#8

Isto deve resolver o seu problema .


Basta trocar o seu /sair pelo que estб abaixo :


pawn Код:
if(strcmp(cmd, "/sair", true) == 0)
    {
        for(new loop = 0; loop < sizeof(HouseInfo); loop++)
        {
            if (PlayerToPoint(3, playerid,HouseInfo[loop][hExitx], HouseInfo[loop][hExity], HouseInfo[loop][hExitz]))
            {
                SetPlayerInterior(playerid,false);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerPos(playerid,HouseInfo[loop][hEntrancex],HouseInfo[loop][hEntrancey],HouseInfo[loop][hEntrancez]);
                SetPlayerVirtualWorld(playerid,false);
                if(HouseInfo[i][hHel] == 1)
                {
                    new Float:tempheal;
                    GetPlayerHealth(playerid,tempheal);
                    if(tempheal < 100.0)
                    {
                        SetPlayerHealth(playerid,100.0);
                    }
                }
            }
        }
        return true
    }

Espero ter ajudado .
Reply


Messages In This Thread
[AJUDA] /sair da casa nгo funciona!!NGM mas pode ajudar? - by SuperGame - 22.05.2011, 14:42
Re: [AJUDA] /sair da casa nгo funciona!! - by SuperGame - 22.05.2011, 17:35
Re: [AJUDA] /sair da casa nгo funciona!! - by steki. - 22.05.2011, 17:57
Re: [AJUDA] /sair da casa nгo funciona!! - by SuperGame - 22.05.2011, 18:07
Re: [AJUDA] /sair da casa nгo funciona!! - by deregudegu - 22.05.2011, 18:12
Re: [AJUDA] /sair da casa nгo funciona!! - by SuperGame - 22.05.2011, 18:36
Re: [AJUDA] /sair da casa nгo funciona!! - by SuperGame - 22.05.2011, 20:58
Re: [AJUDA] /sair da casa nгo funciona!! - by rjjj - 22.05.2011, 22:12
Re: [AJUDA] /sair da casa nгo funciona!! - by SuperGame - 23.05.2011, 00:48
Re: [AJUDA] /sair da casa nгo funciona!! - by SuperGame - 23.05.2011, 16:29

Forum Jump:


Users browsing this thread: 2 Guest(s)