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

How i Can Restringir the weapons for levels on ZP 5.0??


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
choferes
Member
Join Date: Aug 2010
Location: Abajo Del Puente
Old 09-25-2011 , 20:04   How i Can Restringir the weapons for levels on ZP 5.0??
Reply With Quote #1

Hellow, How i Can restrictions the weapons for levels? I USE "ZOMBIE PLAGUE 5.0" MOD By MeRcyLeZZ

Last edited by choferes; 09-25-2011 at 20:39.
choferes is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 09-25-2011 , 20:09   Re: How i Can Restringir the weapons for levels??
Reply With Quote #2

if statement and , what you want to say with 'restringir'?
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
artos
Senior Member
Join Date: Mar 2010
Old 09-26-2011 , 05:52   Re: How i Can Restringir the weapons for levels??
Reply With Quote #3

Quote:
Originally Posted by lucas_7_94 View Post
if statement and , what you want to say with 'restringir'?
How can we restrict weapon for classes or levels.

Example:

I have a human class called "Sniper" and i want to disallow all weapons except sniper rifles. Abdul-rehman said it's possible because of new weapon API but no one explained how to do this.

If you tell us how to do this for classes it will be easy to make this work with levels.
__________________
artos is offline
Send a message via Skype™ to artos
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 09-26-2011 , 22:23   Re: How i Can Restringir the weapons for levels on ZP 5.0??
Reply With Quote #4

And where i say that isnt possible ?

And man , i'm just jocking with 'restringir' , the google translator sucks... , its a spanish word.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
artos
Senior Member
Join Date: Mar 2010
Old 09-27-2011 , 07:04   Re: How i Can Restringir the weapons for levels on ZP 5.0??
Reply With Quote #5

Quote:
Originally Posted by lucas_7_94 View Post
And where i say that isnt possible ?
Nowhere. Calm down, i just wanted to explain a bit more than he does.
__________________
artos is offline
Send a message via Skype™ to artos
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 09-27-2011 , 10:49   Re: How i Can Restringir the weapons for levels on ZP 5.0??
Reply With Quote #6

U can use cs_weapon_restrict_api which comes along the package, just look in the include files to get the idea of thier usage.
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
artos
Senior Member
Join Date: Mar 2010
Old 09-27-2011 , 12:20   Re: How i Can Restringir the weapons for levels on ZP 5.0??
Reply With Quote #7

Quote:
Originally Posted by abdul-rehman View Post
U can use cs_weapon_restrict_api which comes along the package, just look in the include files to get the idea of thier usage.
That's what i wanted to hear. Thanks.
__________________
artos is offline
Send a message via Skype™ to artos
MeRcyLeZZ
Veteran Member
Join Date: Dec 2007
Old 09-27-2011 , 19:22   Re: How i Can Restringir the weapons for levels on ZP 5.0??
Reply With Quote #8

For the current release you would have to rewrite the gun menu (zp50_buy_menu.sma) to support class/level restrictions, as it is not yet implemented.
__________________
MeRcyLeZZ 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 17:05.


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