Aeiou-cow
|
分享:
▼
x1
|
[1.6] 請問一件事情我要寫sma 進來看難道真的沒人會嗎ˊˋ
請問 夜視鏡的ID是??
我想寫得到武器的插件
你看 #include <amxmodx> #include <cstrike> #include <fun> #include "dtgifts" #define PLUGIN_NAME "DTGifts-補給箱禮物修改" #define PLUGIN_VERSION "1.1" #define PLUGIN_AUTHOR "ahcat" public plugin_init() { register_plugin( PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR); register_gift_l( "get_mp5", "WEAPON_GET_SOMEGUN", "WEAPON_GET_MP5", 90); register_gift_l( "get_sg552", "WEAPON_GET_SOMEGUN", "WEAPON_GET_SG552", 70); register_gift_l( "get_he", "WEAPON_GET_SOMEHE", "WEAPON_GET_HE", 100); register_gift_l( "get_elite", "WEAPON_GET_SOMEGUN", "WEAPON_GET_elite", 95); } public get_mp5( id){ give_item( id, "weapon_mp5navy"); give_item( id, "ammo_9mm"); give_item( id, "ammo_9mm"); give_item( id, "ammo_9mm"); } public get_sg552( id){ give_item( id, "weapon_sg552"); give_item( id, "ammo_556nato"); give_item( id, "ammo_556nato"); give_item( id, "ammo_556nato"); } public get_he( id){ new n_currentHE = cs_get_user_bpammo( id, CSW_HEGRENADE); cs_set_user_bpammo( id, CSW_HEGRENADE, 0); give_item ( id, "weapon_hegrenade"); cs_set_user_bpammo( id, CSW_HEGRENADE, n_currentHE + 1); new n_currentF8 = cs_get_user_bpammo( id, CSW_FLASHBANG); cs_set_user_bpammo( id, CSW_FLASHBANG, 0); give_item ( id, "weapon_flashbang"); cs_set_user_bpammo( id, CSW_FLASHBANG, n_currentF8 + 1); new n_currentSG = cs_get_user_bpammo( id, CSW_SMOKEGRENADE); cs_set_user_bpammo( id, CSW_SMOKEGRENADE, 0); give_item ( id, "weapon_smokegrenade"); cs_set_user_bpammo( id, CSW_SMOKEGRENADE, n_currentSG + 1); } public get_elite( id){ give_item( id, "weapon_elite"); give_item( id, "ammo_556nato"); give_item( id, "ammo_556nato"); give_item( id, "ammo_556nato"); }
大大能幫我改嗎.. 能幫我改改看媽 我要把他改道 new n_currentHE = cs_get_user_bpammo( id, CSW_HEGRENADE); cs_set_user_bpammo( id, CSW_HEGRENADE, 0); give_item ( id, "weapon_hegrenade"); give_item ( id, "weapon_flashbang"); give_item ( id, "weapon_smokegrenade"); 我這裡也打的怪怪的 撿到很多次 結果給炸彈 不是給 炸彈 閃光 煙霧三種 幫我在這地方多+夜視鏡@@ 訊變幫我修正 炸彈這裡給的有沒有打錯
[ 此文章被Aeiou-cow在2009-07-10 19:39重新編輯 ]
|