Author Topic: Banning players with no admins on?  (Read 560 times)

I'm trying to make a system that bans you if your points is below this certain number, but I can't use serverCmdBan without a client that is an admin. How would this work?

Either write your own ban function (I'm not entirely sure everything this would involve) or use a fake client object

banblid(id, time, reason);



So this is why you specified not to use severcmdBan? You said it in a way that made me assume you knew that it could be used without a client but didn't want to do it that way for some reason.

Code: [Select]
servercmdBan(0, %targetClient, %targetBL_ID, %time, %reason);