How can i do this without spam?
#1

Hello,

I was wondering how i could display the 4 SCM's without it spamming? And without it showing House Info on other pickups,

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");
            }
            if(HouseInfo[J][Owned] == 0)
            {
                format(str2, sizeof str2, "Owner: No-One");
                format(str3, sizeof str3, "For sale: {00FF00}Yes");
            }
            format(str4, sizeof str4, "Cost Price: %i", HouseInfo[J][HouseCost]);
            SendClientMessage(playerid, COLOR_ADMIN, str);
            SendClientMessage(playerid, COLOR_ADMIN, str2);
            SendClientMessage(playerid, COLOR_ADMIN, str3);
            SendClientMessage(playerid, COLOR_ADMIN, str4);
        }
Thats how it is atm but it spams the SCM, I dont want it to spam and i only want it to show house info on those pickups
And i dont know how, Can any1 help, ta
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: 4 Guest(s)