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

Extra Items Limit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ALonsoVIP4141
BANNED
Join Date: May 2021
Location: https://t.me/pump_upp
Old 06-19-2022 , 19:28   Extra Items Limit
Reply With Quote #1

Welcome .
I want to learn how to add a limit to the purchase of items in the list of extra items ,

Like: Infection Bomb

Last edited by ALonsoVIP4141; 06-25-2022 at 07:28.
ALonsoVIP4141 is offline
Send a message via ICQ to ALonsoVIP4141 Send a message via AIM to ALonsoVIP4141 Send a message via Yahoo to ALonsoVIP4141 Send a message via Skype™ to ALonsoVIP4141
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 06-20-2022 , 00:51   Re: Extra Items Limit
Reply With Quote #2

Show some code...
__________________
bigdaddy424 is offline
abdelwahab
Member
Join Date: Aug 2019
Old 06-20-2022 , 06:41   Re: Extra Items Limit
Reply With Quote #3

Which version of zp are u using ? and search more there is already topic about this.
abdelwahab is offline
ALonsoVIP4141
BANNED
Join Date: May 2021
Location: https://t.me/pump_upp
Old 06-21-2022 , 16:09   Re: Extra Items Limit
Reply With Quote #4

Quote:
Originally Posted by bigdaddy424 View Post
Show some code...
Any extra item sooooooo,
ALonsoVIP4141 is offline
Send a message via ICQ to ALonsoVIP4141 Send a message via AIM to ALonsoVIP4141 Send a message via Yahoo to ALonsoVIP4141 Send a message via Skype™ to ALonsoVIP4141
ALonsoVIP4141
BANNED
Join Date: May 2021
Location: https://t.me/pump_upp
Old 06-21-2022 , 16:10   Re: Extra Items Limit
Reply With Quote #5

Quote:
Originally Posted by abdelwahab View Post
Which version of zp are u using ? and search more there is already topic about this.
ZP50

and give me this topic
ALonsoVIP4141 is offline
Send a message via ICQ to ALonsoVIP4141 Send a message via AIM to ALonsoVIP4141 Send a message via Yahoo to ALonsoVIP4141 Send a message via Skype™ to ALonsoVIP4141
LiZou Mapper
Member
Join Date: Oct 2018
Location: Morocco
Old 06-21-2022 , 22:41   Re: Extra Items Limit
Reply With Quote #6

CVar:
zp_extraitems_limit 3

Put this in translations file Ex: zombieplague.txt
Code:
BUY_LIMIT = You has reached max limits
I did not try it on my game!
Attached Files
File Type: sma Get Plugin or Get Source (zp50_items.sma - 118 views - 9.5 KB)
__________________

-------------
My Maps !
Zombie Escape Mod !
-------------


Last edited by LiZou Mapper; 06-21-2022 at 22:43.
LiZou Mapper is offline
ZaX
Senior Member
Join Date: Jan 2015
Old 06-22-2022 , 08:17   Re: Extra Items Limit
Reply With Quote #7

https://forums.alliedmods.net/showthread.php?t=242103
ZaX is offline
ALonsoVIP4141
BANNED
Join Date: May 2021
Location: https://t.me/pump_upp
Old 06-25-2022 , 07:28   Re: Extra Items Limit
Reply With Quote #8

Nice !!
ALonsoVIP4141 is offline
Send a message via ICQ to ALonsoVIP4141 Send a message via AIM to ALonsoVIP4141 Send a message via Yahoo to ALonsoVIP4141 Send a message via Skype™ to ALonsoVIP4141
Natsheh
Veteran Member
Join Date: Sep 2012
Old 06-25-2022 , 08:29   Re: Extra Items Limit
Reply With Quote #9



BUY_LIMIT = You have reached the max limit.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 18:24.


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