PDA

View Full Version : How to add banlist and not to make him leave game right away?


Battousai-sama
04-12-2008, 11:29
tittle says it all.

how wud i make something like it adds player to banlist and it wont make him leave game right away?

ConnorMcLeod
04-12-2008, 11:57
amx_addban ?

Battousai-sama
04-12-2008, 12:05
yes but wont that make him kick?

ConnorMcLeod
04-12-2008, 12:30
My bad, it's only for "just disconnected" players.
You can still use rcon to ban without kick.

Battousai-sama
04-12-2008, 12:36
i did that also it kick bans em.

hleV
04-12-2008, 16:59
My suggestion is to make a function like you ban a player, then the ban info is writen into a file but not execed until the mapchange or any other event.

Battousai-sama
04-12-2008, 17:19
yea thats what i want :]
adds id to banlist or ip to banlist and wont take effect untill he leaves or mapchanges.

YamiKaitou
04-12-2008, 17:30
rcon banid <minutes> <authid or #userid>
rcon writecfg