08.09.2012, 09:23
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).
The define function is 'PRESSED' .
Do you have an idea about how to make this ?
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); } }
Do you have an idea about how to make this ?