|
发表于 2009-8-1 15:56:14
|
显示全部楼层
来自 中国–北京–北京–海淀区
- #include <amxmodx>
- #include <engine>
- #define PLUGIN "Test"
- #define AUTHOR "Jim"
- #define VERSION "1.0"
- public plugin_init()
- {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- new const armoury_entity[] = "armoury_entity"
- new ent = find_ent_by_class(get_maxplayers() + 1, armoury_entity)
- while(ent)
- {
- remove_entity(ent)
- ent = find_ent_by_class(ent, armoury_entity)
- }
- }
复制代码 |
|