#include <fun> 问题

Home Home
引用 | 编辑 pohong
2013-10-22 19:47
楼主
推文 x0
#include <fun>里的get_hitzones不知道怎么用


例如:
if( get_hitzones(.... , .....) .........)
不会.....

献花 x0
引用 | 编辑 fouury
2013-10-22 20:48
1楼
  
你搞错了吧

fun只有get_user_hitzones

复制程式
if(get_user_hitzones(id, target))

后面要自己加部位号判断

可以自己去fun模块参考

献花 x0
引用 | 编辑 Nailaz
2013-10-22 21:56
2楼
  
* 1   - generic ?
* 2   - head 投
* 4   - chest ?
* 8   - stomach 胃
* 16 - left arm 左手
* 32 - right arm 右手
* 64 - left leg 左脚
* 128 - right leg 右脚
* 255 身上任意部位

if(get_user_hitzones(id, target) == 部位代码)

大概如此使用

献花 x0