loop help ~ selects first on on the list
#7

Or just dont loop then
Код:
new name[MAX_PLAYER_NAME+1], string[24+MAX_PLAYER_NAME+1];
                GetPlayerName(playerid, name, sizeof(name));
                if(PlayerInfo[playerid][Houses] > 0)
                {
                    if(strcmp(HouseInfo[PlayerInfo[playerid][Houses]][hOwner],name,true)!=0) //does not own
                    {
                        SendClientMessage(playerid, COLOR_ORANGE, "YOUR HOUSE HAS BEEN SOLD DUE TO INACTIVITY");
                        PlayerInfo[playerid][Houses] = 0;
                        return 1;
                    }
                    else
                    {
                        SendClientMessage(playerid, COLOR_ORANGE, "YOUR HOUSE AUTO-SELL TIME HAS BEEN SET TO 14 DAYS FROM NOW");
                                        ///code will soon be placed here
                        return 1;
                    }
                }
Reply


Messages In This Thread
loop help ~ selects first on on the list - by jeffery30162 - 16.07.2014, 21:36
Re: loop help ~ selects first on on the list - by Hanger - 16.07.2014, 21:44
Re: loop help ~ selects first on on the list - by jeffery30162 - 16.07.2014, 21:55
Re: loop help ~ selects first on on the list - by Vince - 16.07.2014, 22:07
Re: loop help ~ selects first on on the list - by jeffery30162 - 16.07.2014, 22:14
Re: loop help ~ selects first on on the list - by R0 - 16.07.2014, 22:40
Re: loop help ~ selects first on on the list - by Hanger - 16.07.2014, 23:00

Forum Jump:


Users browsing this thread: 8 Guest(s)