Anti ProAim and SilentAim ! -
Scriptery - 07.03.2017
Hello everyone !
I thought to post a small script for detecting cheaters if use ProAim or SilentAim.
It is a simple but useful script, currently working for detect Renko aim.
Video for demonstration:
Codes:
- V0.1:
http://pastebin.com/yvwGvdMh (I do not recommend)
- V0.2:
http://pastebin.com/S5s4sWns (bug fixes, to keep the target without press KEY_AIM, anti cheat send fake warnings)
Today I will make a small update.
Thanks for your attention!
Re: Anti ProAim and SilentAim ! -
TitanX - 07.03.2017
Nice work but i noticed something
PHP код:
new Float:xx, Float:yy, Float:zz,Float:xx2, Float:yy3, Float:zz4;
is not needed also use static not global variables
PHP код:
static Float:x[2], Float:y[2], Float:z[2]
and use for every native a variable like this
PHP код:
GetPlayerPos(hitid, x[0], y[0], z[0])
etc
Re: Anti ProAim and SilentAim ! -
azzerking - 08.03.2017
Quote:
Originally Posted by TitanX
Nice work but i noticed something
PHP код:
new Float:xx, Float:yy, Float:zz,Float:xx2, Float:yy3, Float:zz4;
is not needed also use static not global variables
PHP код:
static Float:x[2], Float:y[2], Float:z[2]
and use for every native a variable like this
PHP код:
GetPlayerPos(hitid, x[0], y[0], z[0])
etc ![Smiley](images/smilies/smile.png)
|
I think you need to learn more about Pawn before making silly comments like this. In this case there is no need to make the variable static since they are only used in that function and the data the variable holds doesn't need to be kept after the function ends.
also did you even bother reading the script properly? If you did you would understand there is nothing wrong with his code.
OT: Not a bad way to do it, could do with some improvements, not tested it but look good.
Re: Anti ProAim and SilentAim ! -
SyS - 08.03.2017
Quote:
Originally Posted by TitanX
Nice work but i noticed something
PHP код:
new Float:xx, Float:yy, Float:zz,Float:xx2, Float:yy3, Float:zz4;
is not needed also use static not global variables
PHP код:
static Float:x[2], Float:y[2], Float:z[2]
and use for every native a variable like this
PHP код:
GetPlayerPos(hitid, x[0], y[0], z[0])
etc ![Smiley](images/smilies/smile.png)
|
also arrays are slower than normal variables he don't have huge no of variables. So there is no need for that.
Re: Anti ProAim and SilentAim ! -
Scriptery - 08.03.2017
Thanks for feedbacks.
Re: Anti ProAim and SilentAim ! -
TitanX - 08.03.2017
Quote:
Originally Posted by azzerking
I think you need to learn more about Pawn before making silly comments like this. In this case there is no need to make the variable static since they are only used in that function and the data the variable holds doesn't need to be kept after the function ends.
also did you even bother reading the script properly? If you did you would understand there is nothing wrong with his code.
OT: Not a bad way to do it, could do with some improvements, not tested it but look good.
|
Quote:
Originally Posted by Sreyas
also arrays are slower than normal variables he don't have huge no of variables. So there is no need for that.
|
didn't knew that, thanks i learn something today
Re: Anti ProAim and SilentAim ! -
Scriptery - 08.03.2017
Quote:
Originally Posted by TitanX
didn't knew that, thanks i learn something today
|
Yes, is good idea to use arrays for variables to save place in code, but performance is more important
I made a small bug fix. Please don`t use v0.1 for not send you fake warnings !
Re: Anti ProAim and SilentAim ! -
ZukerCup - 08.03.2017
Good Job.
Re: Anti ProAim and SilentAim ! -
Scriptery - 08.03.2017
Quote:
Originally Posted by ZukerCup
Good Job.
|
Thanks, but in future i will release new anti cheats.