How can i do this without spam?
#4

Not sure if that'l work but it shouldn't spam i don't think, i just cant see rest of loop so can't tell if thats what you wan't.
pawn Код:
if(pickupid == PickupID[J]) //If the pickupid is one of our house ones
        {
            SendClientMessage(playerid, COLOR_GREY, "|________________ HOUSING AGENCY ______________|");
            format(str, sizeof str, "Address: %s", HouseInfo[J][HouseNames]);
            if(HouseInfo[J][Owned] == 1)
            {
                format(str2, sizeof str2, "Owner: %s", HouseInfo[J][HouseOwner]);
                format(str3, sizeof str3, "For sale: {FF0000}No");
                SendClientMessage(playerid, COLOR_ADMIN, str);
                SendClientMessage(playerid, COLOR_ADMIN, str3);
                break;
            }
            if(HouseInfo[J][Owned] == 0)
            {
                format(str2, sizeof str2, "Owner: No-One");
                format(str3, sizeof str3, "For sale: {00FF00}Yes");
                SendClientMessage(playerid, COLOR_ADMIN, str2);
                SendClientMessage(playerid, COLOR_ADMIN, str3);
                break;
            }
            format(str4, sizeof str4, "Cost Price: %i", HouseInfo[J][HouseCost]);
            SendClientMessage(playerid, COLOR_ADMIN, str4);
            break;
        }
Reply


Messages In This Thread
How can i do this without spam? - by iTorran - 02.12.2010, 16:56
Re: How can i do this without spam? - by SkizzoTrick - 02.12.2010, 17:00
Re: How can i do this without spam? - by iTorran - 02.12.2010, 17:05
Re: How can i do this without spam? - by iggy1 - 02.12.2010, 17:09
Re: How can i do this without spam? - by SkizzoTrick - 02.12.2010, 17:13
Angle isent working - by iTorran - 02.12.2010, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)