A simple version kick.
1- Make sure that your players are up to date, to make sure the players got all the new functions in the new versions.
2- Many of the cheats are based on older version, like the most known cheats, projects that aren't open-source..etc
3-Less moderation for you over new players, basically turn the version kick off when you're on, turn it on when you're off, server safe.
Disadvantages:
it does kick a shitload of players because many use the 0.3.7 version, but that's why i added the ability to tog the version kick by using /togversion
Why its based at OnPlayerConnect:
Because i don't want to give them a chance to do anything with their cheats, safer to not even spawn.
Since i haven't seen any type of a version kick and i'm not sure if everyone can do this, i mean i know it isn't rocket sience but some ppl might not be able to do it, so hope this helps some, no need for credits or anything its just a simple snippet, i realize that it might not be efficient but it is effective and i tested it many.
If anything, the .pwn and .amx files are attached, have fun guys. PS: the version tog is turned on by default, number of lines: 70, fully explained everything on the pastebin link.
Introduction:
Advantages:1- Make sure that your players are up to date, to make sure the players got all the new functions in the new versions.
2- Many of the cheats are based on older version, like the most known cheats, projects that aren't open-source..etc
3-Less moderation for you over new players, basically turn the version kick off when you're on, turn it on when you're off, server safe.
Disadvantages:
it does kick a shitload of players because many use the 0.3.7 version, but that's why i added the ability to tog the version kick by using /togversion
Why its based at OnPlayerConnect:
Because i don't want to give them a chance to do anything with their cheats, safer to not even spawn.
Since i haven't seen any type of a version kick and i'm not sure if everyone can do this, i mean i know it isn't rocket sience but some ppl might not be able to do it, so hope this helps some, no need for credits or anything its just a simple snippet, i realize that it might not be efficient but it is effective and i tested it many.
How to install?
Very easy, basically visit the pastebin link, paste all of the lines underneath the listed functions, if you have any suggestions/criticizes about the script i'll be more than glad to listen to them, have a good one.Pastebin:
https://pastebin.com/A7dgrw23If anything, the .pwn and .amx files are attached, have fun guys. PS: the version tog is turned on by default, number of lines: 70, fully explained everything on the pastebin link.