引用 | 编辑
kb041204
2012-01-12 13:49 |
楼主
▼ |
||
x0
我用nst_wpn内的include档,找到 nst_wpn_give_weapon(id, const weapon[]) 然后想加战栗加农炮 nst_wpn.ini内的战栗加农炮: [type]5[name]战栗加农炮[model]gatling[wchange]5[damage]0.8[speed]1[zoom]0[clip]40[ammo]40[recoil]1[gravity]220[knockback]10[reload]0[deploy]0[fastrun]0[sight_time]0[sight_model][cost]4000[sound]1[team]0[buy]1[s_reload]4.5[s_type]1 便是 nst_wpn_give_weapon(id, gatling) 但是compile时它说: error 017:undefined symbol "gatling" 是不是要define gatling先?还是其他? 请各位大大帮帮忙 还有一个 我有程式: client_print(id,print_center,"抽不中任何东西!!给回你$500作为安慰金!!") compile时它说:warning 217: loose indentation 但是也可以compile成amxx,有没有问题的吗?是否文字太长?还是其他? 再一次请各位大大帮帮忙 图: x0
|