Send message to all
#1

I need some help...i have Sneaky's anti C-bug...i edited some things in it but i don't know what to add so it will send a message to everyone: IE: "playername[id] was kicked-->C-Bugging"


please help me....


Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if(newkeys & KEY_FIRE && oldkeys & KEY_CROUCH && IsCbugWeapon(playerid))
	{
	  P_CBUG_TICKS[playerid] ++;

	  if(P_CBUG_TICKS[playerid] > C_BUG_TIME)
	  {
			P_CBUG_TICKS[playerid] = 0;
			SendClientMessage(playerid,RED,"C-bugging is not allowed noob!");
		  Kick(playerid);
	  }
	}
	return 1;
}
Reply


Messages In This Thread
Send message to all - by GhOstY93 - 16.07.2009, 09:41
Re: Send message to all - by kc - 16.07.2009, 09:49
Re: Send message to all - by GhOstY93 - 16.07.2009, 09:53
Re: Send message to all - by kc - 16.07.2009, 09:56
Re: Send message to all - by GhOstY93 - 16.07.2009, 09:58

Forum Jump:


Users browsing this thread: 1 Guest(s)