/flush command
#7

Quote:
Originally Posted by Kyosaur
Посмотреть сообщение
Make sure you are using SendClientMessage and not the SendClientMessageToAll function. If you are using SendClientMessage, then you must be iterating through all players and sending the message to them all anyways (looping)?

Post your code.
Ohh..like that ?
Код:
  	if (strcmp("/flush", cmdtext, true, 5) == 0)
	{
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		return 1
	}
Reply


Messages In This Thread
/flush command - by OnY - 02.12.2013, 05:32
Re: /flush command - by Kyosaur - 02.12.2013, 05:40
Re: /flush command - by OnY - 02.12.2013, 06:18
AW: /flush command - by BigETI - 02.12.2013, 06:22
Re: /flush command - by Kyosaur - 02.12.2013, 06:22
Re: /flush command - by OnY - 02.12.2013, 06:25
Re: /flush command - by OnY - 02.12.2013, 06:29
Re: /flush command - by iZN - 02.12.2013, 06:40
Re: /flush command - by OnY - 02.12.2013, 06:51
Re: /flush command - by Kyosaur - 02.12.2013, 07:20

Forum Jump:


Users browsing this thread: 1 Guest(s)