Help please [KILLFEED]
#2

Код:
CMD:cleardeathwindow(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] >= 1)
	{
		for(new i=1; i >= 20; i++)
		{
   	 		SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255);
		}
		
   	 	SendClientMessageToAll(lightred, "[{B4B5B7}Admin{FF6347}]{B4B5B7} have cleared the Killfeed!");
	}
	else return SendClientMessage(playerid, lightred, "[{B4B5B7}System{FF6347}]: {B4B5B7}You aren't authorized to use this command.");
	return 1;
}
Try this?

When this don't work try this:
Код:
CMD:cleardeathwindow(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] >= 1)
	{
		for(new i=1; i <= 20; i++)
		{
   	 		SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255);
		}
		
   	 	SendClientMessageToAll(lightred, "[{B4B5B7}Admin{FF6347}]{B4B5B7} have cleared the Killfeed!");
	}
	else return SendClientMessage(playerid, lightred, "[{B4B5B7}System{FF6347}]: {B4B5B7}You aren't authorized to use this command.");
	return 1;
}
And if that don't work, try to change the 255 to 200.
Reply


Messages In This Thread
Help please [KILLFEED] - by Kudoz - 06.01.2013, 00:37
Re: Help please [KILLFEED] - by wouter0100 - 06.01.2013, 00:44
Re: Help please [KILLFEED] - by iggy1 - 06.01.2013, 00:49
Re: Help please [KILLFEED] - by Kudoz - 06.01.2013, 00:50
Re: Help please [KILLFEED] - by wouter0100 - 06.01.2013, 00:51
Re: Help please [KILLFEED] - by Kudoz - 06.01.2013, 00:54
Re: Help please [KILLFEED] - by Kudoz - 07.01.2013, 04:11
Re: Help please [KILLFEED] - by zSuYaNw - 07.01.2013, 05:41

Forum Jump:


Users browsing this thread: 2 Guest(s)