Define function - pressed key
#1

Hi, guys.
I am fighting with somebody, from a rival server... he's having a hack, which crashes the server, by pressing combination CTRL + 9.
I tried to make a script... but I don't know how to make define function (to detect HACK ON, and pressed key's).
Код:
#define PRESSED(%0)
if (PRESSED( KEY_FIRE && 9)
{format(string,sizeof(string),"TEXT HERE" , sendername));
SendClientMessage(COLOR_LIGHTRED, string);
Ban(playerid);
}
 }
The define function is 'PRESSED' .
Do you have an idea about how to make this ?
Reply


Messages In This Thread
Define function - pressed key - by StoNeR12 - 08.09.2012, 09:23
Re: Define function - pressed key - by C00K13M0N$73R - 08.09.2012, 09:34
Re: Define function - pressed key - by StoNeR12 - 08.09.2012, 10:15

Forum Jump:


Users browsing this thread: 1 Guest(s)