|
发表于 2009-1-5 12:10:24
|
显示全部楼层
来自 中国–四川–遂宁
本帖最后由 sakulekingz 于 2009-1-5 13:24 编辑
写个这个插件最多2-3分钟- #include <amxmodx>
- #include <amxmisc>
- #include <fun>
- #define PLUGIN_NAME "armor&health150"
- #define PLUGIN_VERSION "1.0"
- #define PLUGIN_AUTHOR "KIN"
- public plugin_init()
- {
- register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
- register_event("ResetHUD", "eResetHUD", "be")
- }
- public eResetHUD(id)
- {
- //玩家权限
- if(get_user_flags(id)&ADMIN_LEVEL_A){
- //护甲150
- set_user_armor(id,150)
- //HP 150
- set_user_health(id,150)
- }
- }
复制代码 |
|