Still problem.. UNsloved
#1

pawn Код:
if(strcmp(cmd, "/view", true) == 0)
    {
        for(new i = 0; i < sizeof(HouseInfo); i++)
        {
            if (IsPlayerInRangeOfPoint(playerid, 3.0, HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
            {
                if(HouseInfo[i][hOwned] >= 1) return SendClientMessage(playerid,COLOR_GREY,"This house is owned");
                if(PlayerInfo[playerid][pMoneyH] >= HouseInfo[i][hValue])
                {
                    SetPlayerInterior(playerid,HouseInfo[i][hInt]);
                    SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]);
                    SetPlayerPos(playerid,HouseInfo[i][hExitx],HouseInfo[i][hExity],HouseInfo[i][hExitz]);
                    GameTextForPlayer(playerid, "~r~/exit at any time", 5000, 1);
                    PlayerInfo[playerid][pInt] = HouseInfo[i][hInt];
                    PlayerInfo[playerid][pLocal] = i;
                    HouseEntered[playerid] = i;
                }
                else return SendClientMessage(playerid,COLOR_GREY,"You dont have enough cash with you");
            }
            else return SendClientMessage(playerid,COLOR_GREY,"You are not at house.. ");
        }
        return 1;
    }
Command al lthe time is showing that im not at house....
Tried with ZCMD/DCMD And This.. showing the same..
Help me
Reply


Messages In This Thread
Still problem.. UNsloved - by GaGlets(R) - 04.08.2010, 22:39
Re: Still problem.. UNsloved - by Kar - 04.08.2010, 22:49
Re: Still problem.. UNsloved - by GaGlets(R) - 04.08.2010, 22:51
Re: Still problem.. UNsloved - by Kar - 04.08.2010, 22:54
Re: Still problem.. UNsloved - by Jefff - 04.08.2010, 23:08

Forum Jump:


Users browsing this thread: 1 Guest(s)