02.02.2015, 19:53
- 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;
Everything else works fine.
What I did wrong?
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;
}
What I did wrong?