Raised This Month: $12 Target: $400
 3% 

API Scripting Help [Tut] Creating Item With Limit


Post New Thread Reply   
 
Thread Tools Display Modes
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 08-30-2014 , 00:12   Re: [Tut] Creating Item With Limit
Reply With Quote #21

You can edit zp50_items_weapons or u can make a simple plugin to give nades with limit and remove the names of the nades on zombieplague.ini i mean this part:

Change this:

PHP Code:
[Extra ItemsWeapons and their costs]
NAMES Napalm Nade Frost Nade Flare AWP Magnum Sniper M249 Para Machinegun SG550 Auto-Sniper G3SG1 Auto-Sniper
ITEMS 
weapon_hegrenade weapon_flashbang weapon_smokegrenade weapon_awp weapon_m249 weapon_sg550 weapon_g3sg1 
To this:

PHP Code:
[Extra ItemsWeapons and their costs]
NAMES AWP Magnum Sniper M249 Para Machinegun SG550 Auto-Sniper G3SG1 Auto-Sniper
ITEMS 
weapon_awp weapon_m249 weapon_sg550 weapon_g3sg1 
if i have time i will make the plugin later..

Last edited by wicho; 08-30-2014 at 00:14.
wicho is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 08-31-2014 , 10:00   Re: [Tut] Creating Item With Limit
Reply With Quote #22

Just use the item limiter plugin and use

PHP Code:
[Extra ItemsWeapons and their costs]
NAMES Napalm Nade Frost Nade Flare AWP Magnum Sniper M249 Para Machinegun SG550 Auto-Sniper G3SG1 Auto-Sniper
ITEMS 
weapon_hegrenade weapon_flashbang weapon_smokegrenade weapon_awp weapon_m249 weapon_sg550 weapon_g3sg1 
The names of grenades for this list... as the item ids in txt file.... So easy :/
__________________
You will find everything u need :-
Catastrophe is offline
Talel
Junior Member
Join Date: Sep 2014
Location: tunisia
Old 09-04-2014 , 06:26   Re: [Tut] Creating Item With Limit
Reply With Quote #23

i dont undestand any thing from this please teach me
Talel is offline
z0mb1el0v3r
Senior Member
Join Date: May 2011
Old 09-04-2014 , 07:15   Re: [Tut] Creating Item With Limit
Reply With Quote #24

Quote:
Originally Posted by wicho View Post
if i have time i will make the plugin later..
Did you forgot? Make it please..

sorry for bumping..
z0mb1el0v3r is offline
Brian_Chino77
Senior Member
Join Date: Mar 2014
Location: dunno
Old 09-04-2014 , 07:43   Re: [Tut] Creating Item With Limit
Reply With Quote #25

Why don't try making the array?

Like..
NAMES = AWP Magnum Sniper , M249 Para MachineGun
ITEMS = weapon_awp , weapon_m249
LIMIT = 5 , 0
Brian_Chino77 is offline
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 09-04-2014 , 15:38   Re: [Tut] Creating Item With Limit
Reply With Quote #26

Use the plugin of catastrophe https://forums.alliedmods.net/showthread.php?t=242103
wicho is offline
AmitDeb123
Junior Member
Join Date: Mar 2016
Location: chandannagar,Hoogly,Indi
Old 05-27-2016 , 04:10   Re: [Tut] Creating Item With Limit
Reply With Quote #27

Bro Can You Make A Tutorial For Zp 4.3?
I Really Want Do In My Server !
AmitDeb123 is offline
Kvothe
Junior Member
Join Date: Oct 2018
Old 11-10-2018 , 13:08   Re: [Tut] Creating Item With Limit
Reply With Quote #28

Thanks bro.
And make all time map only 5 buy limit ?
Kvothe is offline
Reply


Thread Tools
Display Modes

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:59.


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