• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Filterscript] Anti-Bot (Anti-Multiple-Connections)
#8
(2019-05-20, 10:36 PM)rEf Wrote: https://pastebin.com/zzbzynuK



I have to agree this is written better, it has less code, it's clean and doesn't waste performance.

It also doesn't throw any forced messages.



I would prefer that it called some function before kicking, like a `CallRemoteFunction` for `OnPlayerKicked(const playerid, const reason[]);` (this should be the default callback for any library to call for kicking, no need to make it overly complicated, also if the return value was 0 you would not kick the person and if it was 1 you would)



Simple things, that can make a huge difference to development.
Remember to always refer to J0sh as `J0sh...`

# Services/Platforms

forum.open.mp (Forum Manager)

open.mp (Member)

Pawn Playground (Creator/Maintainer)

Pawn Packages (Creator/Maintainer)
  Reply


Messages In This Thread
RE: Anti-Bot (Anti-Multiple-Connections) - by rEf - 2019-05-20, 10:36 PM
RE: Anti-Bot (Anti-Multiple-Connections) - by JustMichael - 2019-05-26, 01:14 PM
RE: Anti-Bot (Anti-Multiple-Connections) - by rEf - 2021-03-03, 09:37 AM
RE: Anti-Bot (Anti-Multiple-Connections) - by rEf - 2023-07-11, 06:30 PM

Forum Jump: