|
发表于 2010-11-20 19:50:56
|
显示全部楼层
|阅读模式
来自 中国–云南–临沧
vStart[0] = vOrigin[0] + vForward[0] * forw + vRight[0] * right + vUp[0] * up
vStart[1] = vOrigin[1] + vForward[1] * forw + vRight[1] * right + vUp[1] * up
vStart[2] = vOrigin[2] + vForward[2] * forw + vRight[2] * right + vUp[2] * up
return 5
}
stock fm_get_wpnentity(id, wpnid){
new weapon[32]
get_weaponname(wpnid,weapon,31)
new wEnt;
while((wEnt = engfunc(EngFunc_FindEntityByString,wEnt,"classname",weapon)) && pev(wEnt,pev_owner) != id) {}
if(!pev_valid(wEnt)) return 0;
return wEnt
}
stock FX_Blood(Float:origin[3]){
message_begin(MSG_BROADCAST, SVC_TEMPENTITY)
write_byte(TE_BLOODSPRITE)
write_coord(floatround(origin[0]))
write_coord(floatround(origin[1]))
write_coord(floatround(origin[2]))
write_short(spr_blood_spray)
write_short(spr_blood_drop)
write_byte(70)
write_byte(15)
message_end()
} |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注个册吧
×
|