弑血
|
分享:
▼
x3
|
[插件] 补给箱备用子弹加满教学
我之前发的2项补给箱教学,现在发出第3教学,(废话)不多说~进入正题了 玩家如果会修改dtgift_weapons的SMA的话请看以下: 以下为示范: public get_ak47( id){ give_item( id, "weapon_ak47"); give_item( id, "ammo_762nato"); give_item( id, "ammo_762nato"); give_item( id, "ammo_762nato"); } 接下来是加入备弹全满: public get_ak47( id){ cs_set_user_bpammo(id, CSW_GLOCK18, 200) ←这边的红色代表的是检取后所加的数量, 所以 以此类推。 cs_set_user_bpammo(id, CSW_USP, 200) cs_set_user_bpammo(id, CSW_DEAGLE, 70) cs_set_user_bpammo(id, CSW_P228, 200) cs_set_user_bpammo(id, CSW_ELITE, 70) cs_set_user_bpammo(id, CSW_ELITE, 70) cs_set_user_bpammo(id, CSW_FIVESEVEN, 60) cs_set_user_bpammo(id, CSW_M3, 64) cs_set_user_bpammo(id, CSW_XM1014, 200) cs_set_user_bpammo(id, CSW_MP5NAVY, 180) cs_set_user_bpammo(id, CSW_TMP, 180) cs_set_user_bpammo(id, CSW_P90, 160) cs_set_user_bpammo(id, CSW_MAC10, 180) cs_set_user_bpammo(id, CSW_UMP45, 180) cs_set_user_bpammo(id, CSW_FAMAS, 180) cs_set_user_bpammo(id, CSW_GALIL, 180) cs_set_user_bpammo(id, CSW_AK47, 180) cs_set_user_bpammo(id, CSW_SG552, 180) cs_set_user_bpammo(id, CSW_M4A1, 180) cs_set_user_bpammo(id, CSW_AUG, 180) cs_set_user_bpammo(id, CSW_SCOUT, 180) cs_set_user_bpammo(id, CSW_AWP, 60) cs_set_user_bpammo(id, CSW_G3SG1, 180) cs_set_user_bpammo(id, CSW_SG550, 180) cs_set_user_bpammo(id, CSW_M249, 600) give_item( id, "weapon_ak47"); give_item( id, "ammo_762nato"); give_item( id, "ammo_762nato"); give_item( id, "ammo_762nato"); } 请加入蓝色的字体 就可以了 此方法只是加入子弹数,也是有BUG现象 就是不像CSO有子弹图示,而是直接变成备用子弹 希望大家喜欢
|
|
x0
[楼 主]
From:台湾中华电信 | Posted:2010-02-26 16:39 |
|
|
SNMK
原点回归
|
分享:
▲
▼
复制程式
cs_set_user_bpammo(id, CSW_USP, 200)
cs_set_user_bpammo(id, CSW_DEAGLE, 70)
cs_set_user_bpammo(id, CSW_P228, 200)
cs_set_user_bpammo(id, CSW_ELITE, 70)
cs_set_user_bpammo(id, CSW_ELITE, 70)
cs_set_user_bpammo(id, CSW_FIVESEVEN, 60)
cs_set_user_bpammo(id, CSW_M3, 64)
cs_set_user_bpammo(id, CSW_XM1014, 200)
cs_set_user_bpammo(id, CSW_MP5NAVY, 180)
cs_set_user_bpammo(id, CSW_TMP, 180)
cs_set_user_bpammo(id, CSW_P90, 160)
cs_set_user_bpammo(id, CSW_MAC10, 180)
cs_set_user_bpammo(id, CSW_UMP45, 180)
cs_set_user_bpammo(id, CSW_FAMAS, 180)
cs_set_user_bpammo(id, CSW_GALIL, 180)
cs_set_user_bpammo(id, CSW_AK47, 180)
cs_set_user_bpammo(id, CSW_SG552, 180)
cs_set_user_bpammo(id, CSW_M4A1, 180)
cs_set_user_bpammo(id, CSW_AUG, 180)
cs_set_user_bpammo(id, CSW_SCOUT, 180)
cs_set_user_bpammo(id, CSW_AWP, 60)
cs_set_user_bpammo(id, CSW_G3SG1, 180)
cs_set_user_bpammo(id, CSW_SG550, 180)
cs_set_user_bpammo(id, CSW_M249, 600)
这是蓝字部分 有这样的东西 帮您推x1 应该是仿cso
|
|
x0
[2 楼]
From:台湾中华电信 | Posted:2010-02-27 16:16 |
|
|
|