Test page
Levels Weapons Menu
Description:
- This plugin based on our Levels System. Every new Level player will be able to get new guns. Player need to Gain XP to Grow up in Level and then he can Unlock more Weapons. This is a Pro-Edition that highly coded.
ze_buy_time 60
Menu buy time?
ze_give_HE_nade 1
Give Fire Nade? 0 = Disable | 1 = Enable
ze_give_SM_nade 1
Give Frost Nade? 0 = Disable | 1 = Enable
ze_give_FB_nade 1
Give Another Frost Nade? 0 = Disable | 1 = Enable
ze_block_weapons_lowlvl 1
Block player from picking up high levels weapons? 0 = Allow | 1 = Block
say /enable
orsay_team /enable
Re-Enable Menu if you use Remember choice.
guns
Write in console this will get you the guns menu if the buy time not elapsed yet.
- Delete the old weapons_menu Then Add this new one.
- Open your zombie_escape.ini and delete these lines:
-
[Weapons Menu]
-
PRIMARY = weapon_m4a1 , weapon_ak47 , weapon_aug , weapon_sg552 , weapon_galil , weapon_famas , weapon_scout , weapon_awp , weapon_sg550 , weapon_m249 , weapon_g3sg1 , weapon_ump45 , weapon_mp5navy , weapon_m3 , weapon_xm1014 , weapon_tmp , weapon_mac10 , weapon_p90
-
SECONDARY = weapon_usp , weapon_glock18 , weapon_deagle , weapon_p228 , weapon_elite , weapon_fiveseven
-
- This plugin to work need: Levels-XP System
- How to edit Levels Weapons? Simply you can do this from zombie_escape.ini or from the source code you are free. So how to do it?
You need only to change the Weapons position. So i'll give you example This:
-
PRIMARY = weapon_xm1014 , weapon_ump45 , weapon_m3 , weapon_mp5navy , weapon_p90 , weapon_galil , weapon_famas , weapon_sg550 , weapon_g3sg1 , weapon_m249 , weapon_sg552 , weapon_aug , weapon_m4a1 , weapon_ak47
-
SECONDARY = weapon_usp , weapon_p228 , weapon_glock18 , weapon_fiveseven , weapon_deagle , weapon_elite
Mean:
-
weapon_xm1014 // Level 0
-
weapon_ump45 // Level 0
-
weapon_m3 // Level 1
-
weapon_mp5navy // Level 2
-
weapon_p90 // Level 3
-
weapon_galil // Level 4
-
weapon_famas // Level 5
-
weapon_sg550 // Level 6
-
weapon_g3sg1 // Level 7
-
weapon_m249 // Level 8
-
weapon_sg552 // Level 9
-
weapon_aug // Level 10
-
weapon_m4a1 // Level 11
-
weapon_ak47 // Level 12
-
-
weapon_usp // Level 0
-
weapon_p228 // Level 0
-
weapon_glock18 // Level 1
-
weapon_fiveseven // Level 2
-
weapon_deagle // Level 3
-
weapon_elite // Level 4
So change the position of weapons to edit it. -
- Weapons Names & Max BP Ammo can be changed only from The source code:
-
// Primary and Secondary Weapons Names [Default Values]
-
new const szWeaponNames[][] =
-
{
-
"",
-
"P228",
-
"",
-
"Scout",
-
"HE Grenade",
-
"XM1014",
-
"",
-
"MAC-10",
-
"AUG",
-
"Smoke Grenade",
-
"Dual Elite",
-
"Five Seven",
-
"UMP 45",
-
"SG-550",
-
"Galil",
-
"Famas",
-
"USP",
-
"Glock",
-
"AWP",
-
"MP5",
-
"M249",
-
"M3",
-
"M4A1",
-
"TMP",
-
"G3SG1",
-
"Flashbang",
-
"Desert Eagle",
-
"SG-552",
-
"AK-47",
-
"",
-
"P90"
-
}
-
-
// Max Back Clip Ammo (Change it From here if you need)
-
new const szMaxBPAmmo[] =
-
{
-
-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,
-
90,
-
-1,
-
100
-
}
-
- This system works like, In the first level that it's the 0 level player will see in the menu 2 Primary Weapons and 2 Secondary Weapons and every next level he will unlock another 1 Primary and 1 Secondary and every time the old weapons will be displayed also in the menu. If you don't like this system and need special one just post down here and i'll make it like your needs. I don't need to explain how it done as it need that you should understand the code first so for minimize the efforts just let me do it for you
.
-
Spoiler!
Last edited by Raheem on 02 Aug 2018, 11:43, edited 1 time in total.
31/03/2020 - Written by: PaTaTyu