28.04.2015, 04:05
The above solutions are useless, youre getting these bots joining your server, therefor OnPlayerConnect is called.
All you need is this (which i use): https://sampforum.blast.hk/showthread.php?tid=320649
Include it, then add
in your gamemode code, and you're safe.
All you need is this (which i use): https://sampforum.blast.hk/showthread.php?tid=320649
Include it, then add
Код:
public OnPlayerFloodControl(playerid, iCount, iTimeSpan) { if(iCount > 2 && iTimeSpan < 8000) { Ban(playerid); } }