- 鐵幣
- 55 元
- 文章
- 55 篇
- 聲望
- 13 枚
- 上次登入
- 09-6-10
- 精華
- 0
- 註冊時間
- 09-1-28
- UID
- 545595
|
如果我想將ak47改為遊戲中選單武器的第一項..是不是這樣
// Buy Menu: Primary and Secondary Weapons ##購買選單:主要和次要武器的項目
new const g_primary_items[][] = { "weapon_galil", "weapon_famas", "weapon_m4a1", "weapon_ak47", "weapon_sg552", "weapon_aug", "weapon_scout",
"weapon_m3", "weapon_xm1014", "weapon_tmp", "weapon_mac10", "weapon_ump45", "weapon_mp5navy", "weapon_p90" }
new const g_secondary_items[][] = { "weapon_glock18", "weapon_usp", "weapon_p228", "weapon_deagle", "weapon_fiveseven", "weapon_elite" }
改成
// Buy Menu: Primary and Secondary Weapons ##購買選單:主要和次要武器的項目
new const g_primary_items[][] = { "weapon_ak47", "weapon_famas", "weapon_m4a1", "weapon_galil", "weapon_sg552", "weapon_aug", "weapon_scout",
"weapon_m3", "weapon_xm1014", "weapon_tmp", "weapon_mac10", "weapon_ump45", "weapon_mp5navy", "weapon_p90" }
new const g_secondary_items[][] = { "weapon_glock18", "weapon_usp", "weapon_p228", "weapon_deagle", "weapon_fiveseven", "weapon_elite" }
但是問題來了..........
// Max BP ammo for weapons
new const MAXBPAMMO[] = { -1, 52, -1, 90, 1, 32, 1, 100, 90, 1, 120, 100, 100, 90, 90, 90, 100, 120,
30, 120, 200, 32, 90, 120, 90, 2, 35, 90, 150, -1, 100 }
武器的排列方式就和,下面的名稱順序一樣
// Primary and Secondary Weapon Names ##購買選單的主要和次要武器的名字
new const WEAPONNAMES[][] = { , P228 Compact, , Schmidt Scout, , XM1014 M4, , Ingram MAC-10, Steyr AUG A1,
, Dual Elite Berettas, FiveseveN, UMP 45, SG-550 Auto-Sniper, IMI Galil, Famas,
USP .45 ACP Tactical, Glock 18C, AWP Magnum Sniper, MP5 Navy, M249 Para Machinegun,
M3 Super 90, M4A1 Carbine, Schmidt TMP, G3SG1 Auto-Sniper, , Desert Eagle .50 AE,
SG-552 Commando, AK-47 Kalashnikov, , ES P90 }
綠色字要不要改?? |
|