[FilterScript] AntiCheat
#1

Код:
v1.0 - Anti Speed (ON-FOOT)

v1.1 - Anti AirBreak
v1.1.1 - Fixed problem with timer (Thx to Jelly23 and oMa37)

v1.2.1 - Anti Speed (IN-VEHICLE - still making some improvements) (Thx to NaS for an idea)
       - Anti VehicleRepair Hack
Okay guys I think title says it all..

I hope you'll like this anticheat I will constatly update this thread. Test it with everything you can and post results bellow in comments.

PASTEBIN

IMAGES

Enjoy

NOTE! If you find any bug report them in comments bellow.
Reply
#2

Nice work, can't wait to see more from you to add onto this, I wish you luck with updates.
Reply
#3

Thank you m8
Reply
#4

UPDATE
Added Anti AirBreak. Tested with CLEO cheat and it is working perfectly.

Pastebin link updated
http://pastebin.com/BbMjhvQz

You can cheange these values
Код:
if(speed > 65 && AirBreak_Speed[i] > 65)
for faster detecting. But I would leave it at 60-65.

EDIT: I am sorry if I spam this thread but I will update this constantly. I hope that is not problem. If yes I won't post updates too often..
Reply
#5

Starting the timer OnPlayerSpawn with repeating is a really bad idea, You will be starting the timer multiple times for the same player each time he spawn, I recommend you to move it to OnPlayerConnect.

Anyway, Not bad. Well done.
Reply
#6

Quote:
Originally Posted by oMa37
Посмотреть сообщение
Starting the timer OnPlayerSpawn with repeating is a really bad idea, You will be starting the timer multiple times for the same player each time he spawn, I recommend you to move it to OnPlayerConnect.

Anyway, Not bad. Well done.
Fixed thank you so much Didn't think about it Thank you [REP +]
Reply
#7

Quote:
Originally Posted by Micko123
Посмотреть сообщение
UPDATE
I aded Anti AirBreak. Tested with CLEO cheat and it is working perfectly.
Ooooo progress! nice work!
Reply
#8

Quote:
Originally Posted by SkyFlare
Посмотреть сообщение
Ooooo progress! nice work!
Yup xD Thx
Reply
#9

PHP код:
new OFTimer[MAX_PLAYERS];
new 
AirBreak_Warn[MAX_PLAYERS];
new 
Float:AirBreak_Pos[MAX_PLAYERS][3];
new 
AirBreak_Speed[MAX_PLAYERS];
new 
AirBreak_Height[MAX_PLAYERS]; 
Could be like this:

PHP код:
new OFTimer[MAX_PLAYERS],
AirBreak_Warn[MAX_PLAYERS],
Float:AirBreak_Pos[MAX_PLAYERS][3],
AirBreak_Speed[MAX_PLAYERS,
AirBreak_Height[MAX_PLAYERS]; 
PHP код:
new string[128]; 
I'm pretty sure it isn't even close to 128 cells.
Reply
#10

I've put it 128 because of player name. I always leave 23 cells bigger.
And I will change first thing you said.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)