Problem with checkpoint - textual.
#1

Hello there,

I'm working on a small filterscript, mostly adding some edits in it. Now I've encountered a problem which is as follows. When a player in the server steps into the checkpoint he should receive several client messages which he actually receives. Now, when you stay in the checkpoint your chat is being spammed as the messages are constantly being send.

If anyone could explain me how I should work this out. If you want to help me over Windows Live Messenger please send me a private message to receive my messenger, or send yours to me. ( Please keep in mind that I'm not a professional or even a medium-skilled scripter. )

Thanks in advance,

- Carvos.
Reply
#2

Post the checkpoint code bit?

... Annoying 120 second rule ...
Reply
#3

Код:
stock GetHouseStats(playerid, hid)
{
	SendClientMessage(playerid, GREY, "|__________| House Commands |__________|");
        SendClientMessage(playerid, WHITE, "/househelp | /buy | /visithouse.");

	SendClientMessage(playerid, GREY, "|__________| House Information |__________|");
        new string[256];

    if (strcmp(hInfo[hid][Name],"ForSale",true))
    {
		format(string, sizeof(string), "Owned by: %s.", hInfo[hid][Name]);
  		SendClientMessage(playerid, WHITE, string);
	}
	else
	{
	    SendClientMessage(playerid, WHITE, "This house is for sale.");
	}

	hid = Gethi(playerid);
	if(strcmp(hInfo[hid][Renter],"ForRent",true))
	{
		format(string, sizeof(string), "Rented by: %s.", hInfo[hid][Renter]);
		SendClientMessage(playerid, WHITE, string);
	}
	format(string, sizeof(string), "Cost: %i.", hInfo[hid][Cost]);
	SendClientMessage(playerid, WHITE, string);
}
Reply
#4

Solved it myself, I'm sorry.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)