Raised This Month: $32 Target: $400
 8% 

Suggestion / Subplugin Request CS weapons as exra items


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gamewar
Junior Member
Join Date: Mar 2020
Location: Somewhere
Old 12-30-2021 , 20:00   CS weapons as exra items
Reply With Quote #1

Hello guys. I know it may sounds weird but I need a plugin which turns all Original CS weapons (Weapon_ak47 as example) to Extra item

I know it sounds weird but I need it for one shopmenu which can only use weapons from extra items. I already tried 2 another shop menus but they all have problems

I know it may sounds like a bad idea but I really need it!

Thanks for listening.. I'm also newbie in here

Last edited by Gamewar; 12-30-2021 at 20:00.
Gamewar is offline
zXCaptainXz
Member
Join Date: May 2017
Old 12-31-2021 , 06:11   Re: CS weapons as exra items
Reply With Quote #2

Hi, disable zp50_item_weapons.amxx and optionally zp50_buy_menus.amxx in plugins-zp50_ammopacks.ini and try the attached file.
Attached Files
File Type: sma Get Plugin or Get Source (zp50_item_cs_weapons.sma - 83 views - 4.1 KB)
zXCaptainXz is offline
Gamewar
Junior Member
Join Date: Mar 2020
Location: Somewhere
Old 12-31-2021 , 09:45   Re: CS weapons as exra items
Reply With Quote #3

Quote:
Originally Posted by zXCaptainXz View Post
Hi, disable zp50_item_weapons.amxx and optionally zp50_buy_menus.amxx in plugins-zp50_ammopacks.ini and try the attached file.
I'm sitting on ZP 4.3 Fix5. not ZP 5.0. I'm using plugin which adds the buymenu to ZP4.3

Last edited by Gamewar; 12-31-2021 at 10:14.
Gamewar is offline
zXCaptainXz
Member
Join Date: May 2017
Old 12-31-2021 , 11:02   Re: CS weapons as exra items
Reply With Quote #4

Open zombieplague.ini and find [Extra Items: Weapons and their costs], replace what's below it with this

Code:
[Extra Items: Weapons and their costs]
NAMES = IMI Galil ,Famas ,M4A1 Carbine ,AK-47 Kalashnikov ,SG-552 Commando ,Steyr AUG A1 ,Schmidt Scout ,M3 Super 90 ,XM1014 M4 ,Schmidt TMP ,Ingram MAC-10 ,UMP 45 ,MP5 Navy ,ES P90 ,AWP Magnum Sniper ,M249 Para Machinegun ,SG-550 Auto-Sniper ,G3SG1 Auto-Sniper ,Glock 18C ,USP .45 ACP Tactical ,P228 Compact ,Desert Eagle .50 AE ,FiveseveN ,Dual Elite Berettas ,HE Grenade ,Flashbang ,Smoke Grenade
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 ,weapon_awp ,weapon_m249 ,weapon_sg550 ,weapon_g3sg1 ,weapon_glock18 ,weapon_usp ,weapon_p228 ,weapon_deagle ,weapon_fiveseven ,weapon_elite ,weapon_hegrenade ,weapon_flashbang ,weapon_smokegrenade
COSTS = 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10
Go to zombieplague.cfg and disable zp_buy_custom to prevent players from getting free weapons on spawn
Code:
zp_buy_custom 0 // Enable custom buy menus
Problem solved.
zXCaptainXz is offline
Gamewar
Junior Member
Join Date: Mar 2020
Location: Somewhere
Old 12-31-2021 , 19:13   Re: CS weapons as exra items
Reply With Quote #5

Quote:
Originally Posted by zXCaptainXz View Post
Open zombieplague.ini and find [Extra Items: Weapons and their costs], replace what's below it with this

Code:
[Extra Items: Weapons and their costs]
NAMES = IMI Galil ,Famas ,M4A1 Carbine ,AK-47 Kalashnikov ,SG-552 Commando ,Steyr AUG A1 ,Schmidt Scout ,M3 Super 90 ,XM1014 M4 ,Schmidt TMP ,Ingram MAC-10 ,UMP 45 ,MP5 Navy ,ES P90 ,AWP Magnum Sniper ,M249 Para Machinegun ,SG-550 Auto-Sniper ,G3SG1 Auto-Sniper ,Glock 18C ,USP .45 ACP Tactical ,P228 Compact ,Desert Eagle .50 AE ,FiveseveN ,Dual Elite Berettas ,HE Grenade ,Flashbang ,Smoke Grenade
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 ,weapon_awp ,weapon_m249 ,weapon_sg550 ,weapon_g3sg1 ,weapon_glock18 ,weapon_usp ,weapon_p228 ,weapon_deagle ,weapon_fiveseven ,weapon_elite ,weapon_hegrenade ,weapon_flashbang ,weapon_smokegrenade
COSTS = 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10
Go to zombieplague.cfg and disable zp_buy_custom to prevent players from getting free weapons on spawn
Code:
zp_buy_custom 0 // Enable custom buy menus
Problem solved.
Thats the thing. The Weapon_ thing is regular CS 1.6 script. the plugin what I use can see things what is only in extra item in zp_extraitems.ini.

If i gonna put zp_buy_custom 0 then I still can't buy regular weapons in the main custom buy menu plugin

If its required I can send the SMA of the plugin but that thing was downloaded outside this website
Gamewar is offline
zXCaptainXz
Member
Join Date: May 2017
Old 01-01-2022 , 15:08   Re: CS weapons as exra items
Reply With Quote #6

Ok forget everything I said above and try the attached plugin.
Attached Files
File Type: sma Get Plugin or Get Source (zp43_item_cs_weapons.sma - 78 views - 5.6 KB)
zXCaptainXz is offline
Gamewar
Junior Member
Join Date: Mar 2020
Location: Somewhere
Old 01-01-2022 , 15:28   Re: CS weapons as exra items
Reply With Quote #7

Quote:
Originally Posted by zXCaptainXz View Post
Ok forget everything I said above and try the attached plugin.
Thanks! it works!

There is only some guns missing like all pistols, AWP, krieg550, G3SG1 and m249 machine gun... (check pic)


if its possible can you also add 3 main grenades (hegranade, FLashbang and smoke). They also count as "weapon_"

Everything else seems perfectly working... Thats all I wanna see.
I hate giving people bonus work but thats all I need
Attached Thumbnails
Click image for larger version

Name:	picture.png
Views:	35
Size:	42.6 KB
ID:	192888  
Gamewar is offline
Gamewar
Junior Member
Join Date: Mar 2020
Location: Somewhere
Old 01-01-2022 , 15:49   Re: CS weapons as exra items
Reply With Quote #8

Quote:
Originally Posted by Gamewar View Post
Thanks! it works!

There is only some guns missing like all pistols, AWP, krieg550, G3SG1 and m249 machine gun... (check pic)


if its possible can you also add 3 main grenades (hegranade, FLashbang and smoke). They also count as "weapon_"

Everything else seems perfectly working... Thats all I wanna see.
I hate giving people bonus work but thats all I need
I wanna add that I didn;t changed zp_buy_custom to 0 because of round start but it didn't gave me any problems (well fake reloading animation of the weapon choosing but thats fine)
Gamewar is offline
zXCaptainXz
Member
Join Date: May 2017
Old 01-01-2022 , 17:36   Re: CS weapons as exra items
Reply With Quote #9

In zombieplague.ini, change [Extra Items: Weapons and their costs] to this and AWP/G3SG1/SG550/M249 and grenades should work

Code:
[Extra Items: Weapons and their costs]
NAMES = 
ITEMS = 
COSTS =
zXCaptainXz is offline
Gamewar
Junior Member
Join Date: Mar 2020
Location: Somewhere
Old 01-02-2022 , 07:19   Re: CS weapons as exra items
Reply With Quote #10

Quote:
Originally Posted by zXCaptainXz View Post
In zombieplague.ini, change [Extra Items: Weapons and their costs] to this and AWP/G3SG1/SG550/M249 and grenades should work

Code:
[Extra Items: Weapons and their costs]
NAMES = 
ITEMS = 
COSTS =
Yes Awesome! Big thanks to you! I was fighting with the buymenu for like 3 Days and only on the third day I posted the blog

Geez I Was hoping that I can let weapons in ammo buymenu since podbot are using it but I guess buymenu is better choice in here

Again big Thanks to you
Gamewar is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode