|
发表于 2008-11-13 12:22:38
|
显示全部楼层
来自 中国–广东–惠州–惠城区
回复: 一个小假设
[PHP]
#include <amxmodx>
#include <amxmisc>
#include <csx>
#define PLUGIN_NAME "New Plug-In"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "zwfgdlc"
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
}
public client_damage(attacker,victim,damage,wpnindex,hitplace,TA)
{
if(hitplace==HIT_CHEST){
//....
}
}[/PHP] |
|