|
发表于 2006-5-14 22:16:21
|
显示全部楼层
来自 中国–广东–深圳–南山区
回复: 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") |
|