Some bug with /departments and some other need help.
#2

pawn Код:
for(new h = 0; h < sizeof(HouseInfo); h++)
                {
                    if(PlayerToPoint(2.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]))
                    {
                        if(HouseInfo[h][hOwned] == 1)
                        {
                            if(HouseInfo[h][hRentabil] == 0)
                            {
                                format(string, sizeof(string), "~g~Owner~n~~y~%s~n~%d Level",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);
                            }
                            else
                            {
                                format(string, sizeof(string), "~g~Owner~n~~y~%s~n~Rent: $%d Level: %d~n~~y~(/rentroom)",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
                            }
                            GameTextForPlayer(i, string, 5000, 3);
                            return 1;
                        }
                        else
                        {
                            format(string, sizeof(string), "~g~FOR SALE~n~~y~%s~n~$%d~n~%d Level~n~~y~(/buyhouse)",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]);
                        }
                        GameTextForPlayer(i, string, 5000, 3);
                        return 1;
                    }
                }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)