[FilterScript] Anti God (HACKS)
#5

It will not work.

You store the player's health to oyuncuCan and then set the player's health to 50. Last you check if oyuncuCan is not 50 and then you kick the player.

It will only kick players whose health was 50 while checking and it won't work for the rest.

That's the main and the most important problem to your filterscripts. There are few more such as sending a message before kicking a player will not be sent. You'll need to send the message and then kick the player with a delay (timer).

Also you check if the player is RCON admin and you return a message that they're not. Same goes for connected player - you forgot the symbol ! before those functions.

The last one is the strtok and the 2 pointless arrays of sizes 254 and 256, so I'll link you to a nice thread about that: https://sampforum.blast.hk/showthread.php?tid=55261
Reply


Messages In This Thread
Anti God (HACKS) - by omur1905 - 21.11.2013, 13:56
Re: Anti God (HACKS) - by iAnonymous - 21.11.2013, 14:00
Re: Anti God (HACKS) - by Konstantinos - 21.11.2013, 14:04
Re: Anti God (HACKS) - by omur1905 - 21.11.2013, 14:34
Re: Anti God (HACKS) - by Konstantinos - 21.11.2013, 14:42
Re: Anti God (HACKS) - by dakata994 - 21.11.2013, 16:50
Re: Anti God (HACKS) - by Ivan25 - 22.11.2013, 11:18

Forum Jump:


Users browsing this thread: 1 Guest(s)