25.04.2013, 19:25
I briefly mentioned how I did it in the anti cheat tips thread.
An include that you'd create for every compiled script that edits players position, money etc. which would serve as a way to store everything you'd need for the anticheat filterscript
so if you've read this thread
https://sampforum.blast.hk/showthread.php?tid=220089
then it'd save things like what a players position should be, if it's synced, what weapons they should have...
I use pvars for ease
then in the filterscript you know can just read pvars to see what a player should have in their weapons or how much money they're meant to have.
This makes everything a lot easier to use, all the scripts need is an include and that's it, and the anticheat was a filterscript because I needed to make small changes all the time to make things more or less accurate. I don't see any unique downsides to this other than foreseeing what you'll need in the include
An include that you'd create for every compiled script that edits players position, money etc. which would serve as a way to store everything you'd need for the anticheat filterscript
so if you've read this thread
https://sampforum.blast.hk/showthread.php?tid=220089
then it'd save things like what a players position should be, if it's synced, what weapons they should have...
I use pvars for ease
then in the filterscript you know can just read pvars to see what a player should have in their weapons or how much money they're meant to have.
This makes everything a lot easier to use, all the scripts need is an include and that's it, and the anticheat was a filterscript because I needed to make small changes all the time to make things more or less accurate. I don't see any unique downsides to this other than foreseeing what you'll need in the include