samp.ban and temporary banning

Started by SA:MP, May 05, 2023, 05:45 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

SA:MP

samp.ban and temporary banning

Hello guys,



When some one gets ban i transfer his ip range to samp.ban so he cant connect again with that range but samp.ban even doesnt even allow server to call OnPlayerConnect for the banned player when connecting... so the problem is if the ban is a temporary one, how can i unban him?



What i did before is.. Instead of using samp.ban i used a seperate table for banned ranges in the database so when player connects I can check weather his ban is expired.. but still I wanna use this samp.ban as cheaters still can affect the server if i used that server side method.



Is there any callback or smth which respond this connection?

Source: samp.ban and temporary banning