[HELP] /Exit command.
#1

- Hello.
I've working to an Dynamic House System.
Works fine all commands. Except one. /Exit.
I enter In-Game, I use command /Enter to enter in house, but, when I use /Exit, teleports me under map.
Code: www.pastebin.com;

pawn Код:
CMD:iesi(playerid, params[])
{
    for(new i = 0; i < MAX_CASE; i++)
    {
        if(InHouse[playerid] == 1)
        {
            SetPlayerPos(playerid, CasaInfo[i][cX], CasaInfo[i][cY], CasaInfo[i][cZ]);
            SetPlayerInterior(playerid, 0);
            SendClientMessage(playerid, -1, "{FF0000}[CASĂ]: {FFFFFF}Ai iesit dintr-o casă.");
        }
    }
    return 1;
}
Everything else works fine.
What I did wrong?
Reply


Messages In This Thread
[HELP] /Exit command. - by HY - 02.02.2015, 19:53
Re: [HELP] /Exit command. - by M4D - 02.02.2015, 19:59
Re: [HELP] /Exit command. - by HY - 02.02.2015, 20:06
Re: [HELP] /Exit command. - by M4D - 02.02.2015, 20:15

Forum Jump:


Users browsing this thread: 1 Guest(s)