【发布】Punish Mode v1.2 / 惩罚模式 v1.2
该插件需要AMXX 1.70版本及以上。punishmode.txt 为语言文件。一般,其目录为...\cstrike\addons\amxmodx\data\lang\ 。
punishmode.sma 为源代码文件。一般,其目录为...\cstrike\addons\amxmodx\scripting\ 。
punishmode.amxx 为amxx插件最终文件。一般,其目录为...\cstrike\addons\amxmodx\plugins\ 。
该插件足够强大惩罚多个玩家或者单个玩家。(其他部分,我懒得还原为中文了,反正很简单。不行就 金山词霸 或者google - http://www.google.com/language_tools?hl=zh-CN )
因为发布系统带了源码,因此可以不必另行帖出。:D
回复: Punish Mode v1.1 / 惩罚模式 v1.1
支持一下 。。。。哈哈你经常转插件。。
回复: Punish Mode v1.1 / 惩罚模式 v1.1
Post by ahcat支持一下 。。。。哈哈
你经常转插件。。
我好像没有转插件过。:p 都是自己写,然后到这里、那里~发一下。:embarrass
回复: Punish Mode v1.1 / 惩罚模式 v1.1
用用看支持一下 嘿嘿...:d:
回复: Punish Mode v1.1 / 惩罚模式 v1.1
呵呵。借一不说话,楼主写的插件与Enigmaya写的惩罚作弊插件好相似,该不会是精简来的吧。。:p :p :p开个玩笑啦:D
Post by kinsprite
public plugin_init()
{
register_plugin("PunishMode","1.1","KinSprite")
register_dictionary("punishmode.txt")
register_concmd("amx_punish_player","cmdpunishmode",ADMIN_SLAY,"<name or #userid or @ or @T or @CT> <0 or 1> -Players punished mode")
register_concmd("amx_punish_userip","cmdpunishIP",ADMIN_SLAY,"<name or #userid> <ADD or DEL> - Player's IP to (from) the punished IP data")
register_concmd("amx_punish_editip","cmdfile_IP",ADMIN_SLAY,"<IP> <ADD or DEL> in the punished IP data")
register_concmd("amx_punish_listip","cmdlistip",ADMIN_SLAY,"List IPs in ^"ipspunish.cfg^"")
register_event("ResetHUD", "ResetHUD_Punish", "b")
register_event("WeapPickup","drop_weap","b")
p_amx_punish_enable = register_cvar("amx_punish_enable","1")
p_amx_punish_health = register_cvar("amx_punish_health","44")
p_amx_punish_money = register_cvar("amx_punish_money","44")
p_amx_punish_armor = register_cvar("amx_punish_armor","4")
return PLUGIN_CONTINUE
}
Post by Enigmaya
public plugin_init()
{
register_plugin("cheating punish","1.9", "Enigmaya")
register_concmd("amx_pcheater", "admin_pcheater",ADMIN_LEVEL_A,"<authid, nick, or #userid> <? round>")
register_concmd("amx_pcheater_stop","admin_stop",ADMIN_LEVEL_A,"stop all of the punish at next round")
register_cvar("amx_pcheater_enable", "1")
register_logevent("newRound", 2, "0=World triggered", "1=Round_Start")
register_cvar("amx_pcheater_kick","0")
//----------------teleport--------------
register_concmd("amx_tele","admin_tele",ADMIN_LEVEL_A,"<authid, nick, or #userid>")
//---------------fly-------------------
register_concmd("amx_fly","admin_fly",ADMIN_LEVEL_A,"<authid, nick, or #userid> <? round>")
register_cvar("amx_pcheater_fly","1")
//----------------deathmsg--------------
register_cvar("amx_pcheater_givemoney","5000")
//----------------vote------------------
register_menucmd(register_menuid("Punish cheater?"), KEY7|KEY8|KEY9, "votecount")
register_menucmd(register_menuid("who is cheater?"), KEY1|KEY2|KEY3|KEY4|KEY5|KEY6|KEY7|KEY8|KEY9|KEY0, "choosewho")
register_clcmd("say /vote_cheater", "before_vote")
register_cvar("amx_pcheater_vote", "1")
register_cvar("amx_pcheater_takemoney","5000")
register_cvar("amx_pcheater_vote_rate", "0.6")
register_cvar("amx_pcheater_vote_money", "2000")
回复: Punish Mode v1.1 / 惩罚模式 v1.1
Post by AE86呵呵。借一不说话,楼主写的插件与Enigmaya写的惩罚作弊插件好相似,该不会是精简来的吧。。:p :p :p
开个玩笑啦:D
你提醒,我搜索一下Enigmaya发表的主题,写的东西真多! 告诉你: 这个插件我没有看过任何人的,也没有想过是否有过类似功能的插件。根据自己的需要,就慢慢写出来。为了发布,也因为发布,才不断完善。:byebye:
回复: Punish Mode v1.1 / 惩罚模式 v1.1
Post by kinsprite你提醒,我搜索一下Enigmaya发表的主题,写的东西真多! 告诉你: 这个插件我没有看过任何人的,也没有想过是否有过类似功能的插件。根据自己的需要,就慢慢写出来。为了发布,也因为发布,才不断完善。:byebye:
我见过效果,应该不是。