CS1.5的KICK代码怎么写?
server_cmd("kick #%d",get_user_userid(id))这样写倒是可以KICK,但KICK之后客户端全是显示kick by console ,能不能在KICK之后写一些自定义信息呢?比如you has been kicked for being AFK on the full server!
回复: CS1.5的KICK代码怎么写?
可以仿照adminslots回复: CS1.5的KICK代码怎么写?
好象听R斑竹说过1.5不支持自定义踢人信息。回复: CS1.5的KICK代码怎么写?
Post by 冰河好象听R斑竹说过1.5不支持自定义踢人信息。
可以的,用客户端命令,断开再打印信息!
回复: CS1.5的KICK代码怎么写?
踢之前打 server_print("you have been kicked for your stupidity")然后再server_cmd("kick #%d", get_user_userid(id))
或者client_cmd(id, "echo ^"you have been kicked for your stupidity^";disconnect")
页:
[1]