|
发表于 2010-10-20 14:45:53
|
显示全部楼层
来自 中国–广东–广州
本帖最后由 261869247 于 2010-10-20 14:48 编辑
- #include <amxmodx>
- #include <fakemeta>
- #define PLUGIN "New Round In CS1.5"
- #define AUTHOR "Jim"
- #define VERSION "1.0"
- public plugin_init()
- {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- register_forward(FM_FindEntityByString, "fw_findentbystring")
- }
- public fw_findentbystring(ent, const field[], const value[])
- {
- if(equal(value, "info_map_parameters"))
- new_round()
-
- forward_return(FMV_CELL, 0)
- return FMRES_IGNORED
- }
- public new_round()
- {
- //our new round started
- }
复制代码不懂这个...以后再研究吧
mwy5ym 发表于 2010-10-20 11:33
JING_YANG 的 FEKA函数替换HLTV事件 支持1.5 |
|