Cj run
#1

Hey,

I have added a lot to my anticheat over the past few days, I have Jetpack, Speed, Money, Car spam, weapon hacking.

One thing that I really want to include is detecting CJ runners as most people use this, how would this be done?
Reply
#2

hmmmm... first thing would be to remove skin 0 from your server's spawn option and detect if someone is using it, second and more effective still risky thing would be a lot more advanced to check for speed and could ban innocent players that lag.
Reply
#3

firstly I wasn't looking for "detect" I was looking for a way of detecting it.
Reply
#4

There's no way, dude. I've made searches, and seen posts, but without a result. Sorry for disappointing you.
Reply
#5

alright thanks man
Reply
#6

There are only one way. Remove the function that allow player run/walk as CJ
pawn Код:
// OnGameModeInit( )
UsePlayerPedAnims( );
But if you have CJ's skin on your server, remove that skin, else if it's impossible to disable this animation to CJ.
Reply
#7

I think its possible using GetPlayerAnimationIndex and GetAnimationName. Try checking for the anim RUN_PLAYER (untested).
Reply
#8

I know this thread is kinda necro, but i have something to add:

Even if you dont use UsePlayerPedAnims(), people with hacks can still CJ run, thats what hes trying to detect...

Still if you don't use it, skin 0 can ALWAYS CJ Run. well, at least last time i checked it was like that.
Reply
#9

cj skin is removed.
Reply
#10

You should check the CJ running animations with GetPlayerAnimationIndex in OnPlayerUpdate callback
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)