【原创】RPS刷新玩家得分插件【更新v1.0】
:sure:这个是我自己原创的菜鸟插件(终于补完课了)..废话不多说了:cold:
插件用途:
在游戏中输入/reme或/replace即可刷新自己的得分.
有许多玩家因得分(即杀人数与死亡数)不满意,经常反复断开,连接服务器,来刷新自己的得分.
安装此插件,输入命令即可随时随地得分清零.刷新不会影响累计排名,金钱也刷新回原始(默认$800).
所需命令:
amx_retrytime - 允许重新连接时间,插件开关//time in seconds to determine if retry was used ( 默认60 ,0为关闭)
amx_retrykick - 是否踢除重新连接的玩家//set to 1 if you want to kick retry users 1|0 ( 默认1开启 )
amx_retryshow - 插件广播,禁止重新连接在一定时间内//set to 0 if you want to disable public announces about use of retry 1|0 ( 默认1开启 )
amx_retrychat - 在玩家聊天频道显示信息//show usage in playerchat 1|0 ( 默认1开启 )
amx_remoney - 刷新后玩家的金钱数( 默认800 )
amx_remenu - 管理员菜单,管理员可以强制某人得分刷新.
11420
并且集成了NO RETRY插件(已汉化).
在此感谢landyhsu,AE86(提出建议)和Priski(no retry作者)
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#define PLUGIN "replace_player_Score+no_retry"
#define VERSION "1.1+"
#define AUTHOR "caihanzi&Priski"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say", "replace_say")
register_concmd("amx_remenu", "readminlist",ADMIN_IMMUNITY,"admin re menu")
register_cvar("amx_retrytime","60")
register_cvar("amx_retrykick","1")
register_cvar("amx_retryshow","1")
register_cvar("amx_retrychat","1")
register_cvar("amx_remoney","800")
register_cvar("amx_retrymsg","这里不允许重复登陆, %s")
register_cvar("amx_retrykickmsg","不允许很快地重复连接")
register_cvar("amx_retrychatmsg","%s 被服务器拒绝:因为他在 %t 秒内重复连接")
register_menucmd(register_menuid("您是否想更新自己的得分?^n\r(金钱也奖刷新)"),1023,"MenuReplaceBody")
gmsgSayText = get_user_msgid("SayText")
return PLUGIN_CONTINUE
}
插件重新上传版本更新至1.1+,更新日志在11楼,大家帮忙测试一下..:)
注:已附原始版本RPSv1.0,没有集成了NO RETRY插件.内附详细说明
v1.1+仅适用于AMXX1.60
回复: 【测试】RPS刷新玩家得分插件
虽然用不到还是支持下!回复: 【测试】RPS刷新玩家得分插件
不错,顶啊。。。收了~回复: 【测试】RPS刷新玩家得分插件
收藏 谢谢楼主的原创。。很好!回复: 【测试】RPS刷新玩家得分插件
很牛逼得说]倒是各自了八
回复: 【测试】RPS刷新玩家得分插件
对付玩家因得分(即杀人数与死亡数)不满意,经常反复断开,连接服务器,来刷新自己的得分的,我用的是noretry插件,在amxx1.0+cs1.5测试通过....很简单的E文,就不翻译了...
amx_retrytime - time in seconds to determine if retry was used ( default: 15 )
amx_retrykick - set to 1 if you want to kick retry users ( default: 0 )
amx_retryshow - set to 0 if you want to disable public announces about use of retry ( default: 0 )
amx_retrychat - show usage in playerchat ( default: 1 )
amx_retrymsg - message which is displayed after reconnect to user ( default: "No retry allowed here, %s" ) *
amx_retrykickmsg - reason when kicked ( default: "DO NOT USE RETRY COMMAND" )
amx_retrychatmsg - message in playerchat ( default: "%s was kicked: reconnect in %t seconds" ) *