Posts: 445
Threads: 96
Joined: Jan 2011
Reputation:
0
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?
Posts: 153
Threads: 17
Joined: Jan 2011
Reputation:
0
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.
Posts: 445
Threads: 96
Joined: Jan 2011
Reputation:
0
firstly I wasn't looking for "detect" I was looking for a way of detecting it.
Posts: 159
Threads: 12
Joined: Aug 2011
Reputation:
0
There's no way, dude. I've made searches, and seen posts, but without a result. Sorry for disappointing you.
Posts: 118
Threads: 7
Joined: Feb 2009
Reputation:
0
I think its possible using GetPlayerAnimationIndex and GetAnimationName. Try checking for the anim RUN_PLAYER (untested).
Posts: 153
Threads: 17
Joined: Jan 2011
Reputation:
0
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.
Posts: 1,046
Threads: 29
Joined: Mar 2010
You should check the CJ running animations with GetPlayerAnimationIndex in OnPlayerUpdate callback