查看: 2508|回复: 28

[源码]进服前发誓不作弊源码

[复制链接]
发表于 2013-2-13 10:17:05 | 显示全部楼层 |阅读模式
new Float:TIMERWAIT = 1.0
new DISPLAYTITLE[] = "举起你的右手,跟我一起发誓"

new ADDENTRYCMD[] = "amx_addrule"
new ADMINDISPLAYMESSAGECMD[] = "rules"
new CHANGETEAM[] = "chooseteam"
new pip[MAX_PLAYERS][22]
new Float:rectime

new CVARCOLOR[] = "sr_color"
new CVARDISPLAY[] = "sr_display"


public plugin_init() {
register_plugin("Do you dare to pledge", "5.0", "DaBears")
register_menucmd(register_menuid("请问你敢发誓吗?"),1023,"action_menu")
register_menucmd(register_menuid("请选择队伍"),1023,"choose_team")
register_menucmd(register_menuid("你要转移到哪一只队伍"),1023,"chooseteam")
register_concmd(ADDENTRYCMD, "addentry", ADMIN_CVAR, "<entry> : Adds a entry")
register_concmd(ADMINDISPLAYMESSAGECMD, "displaymessage", ADMIN_USER, ": Display message")
register_concmd(CHANGETEAM, "teammenu", ADMIN_USER, ": Team menu")
register_event("ShowMenu","join","b","4&Team_Select")
register_event("VGUIMenu","join","b","1=2","1=26","1=27")
register_cvar(CVARDISPLAY, "60.0", 4)
register_cvar(CVARCOLOR, "255,0,0", 4)
register_cvar("minrec","15")
set_msg_block(get_user_msgid("VGUIMenu"), BLOCK_SET)
set_msg_block(get_user_msgid("ShowMenu"), BLOCK_SET)
return PLUGIN_CONTINUE
}
public teammenu(id){
new teammenu[1023]
new len = format(teammenu,1023,"\w你要转移到哪一只队伍?: ^n^n\w")
len += format(teammenu[len],1023-len,"^n\r1.\w 傻逼土匪.^n\r2.\w 垃圾警察.^n\r3.\w 偷窥者.^n\r0.\w 退出.")
show_menu(id,(1<<0|1<<1|1<<2|1<<9),teammenu)
return PLUGIN_HANDLED
}

进服前发誓不作弊源码.rar

2.17 KB, 下载次数: 20

售价: 2 金钱  [记录]

发表于 2013-2-17 20:11:49 | 显示全部楼层
挤在北京,给首都添麻烦了……  
发表于 2013-2-18 11:34:36 | 显示全部楼层
初来乍到,请多多关照。。。  
发表于 2013-2-19 19:22:26 | 显示全部楼层
看完了这么强的文章,我想说点什么,但是又不知道说什么好,想来想去只想  
发表于 2013-2-21 01:19:21 | 显示全部楼层
一山不能容二虎,除非一公和一母!  
发表于 2013-2-24 05:05:34 | 显示全部楼层
这贴?不回都不行啊  
发表于 2013-2-24 06:14:40 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2013-2-25 09:17:05 | 显示全部楼层
不错,看看。  
发表于 2013-2-27 19:05:29 | 显示全部楼层
感谢党和人民的关爱~~~  
发表于 2014-7-19 15:30:36 | 显示全部楼层
谢谢







您需要登录后才可以回帖 登录 | 中文注册

本版积分规则