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

Pistol ammo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Blue Snake.
Member
Join Date: May 2011
Location: Romania
Old 08-29-2012 , 13:25   Pistol ammo
Reply With Quote #1

Hi, I'm not sure if this is the right forum for my question but...

I want to do in my userconfig file a bind to buy my pistol's ammo like this:

Code:
if(pistol == glock18)
while(ammo < 70) buyammo2;

else if(pistol == usp)
while(ammo < 48) buyammo2;

else if(pistol == deagle)
secammo;

else
while(ammo < 40) buyammo2;
Is there any way to do it with configs, not with amxx plugins? I know how to do with amxx but it would works only on my server, not on any server i'm playing.

Thanks.
Blue Snake. is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 08-29-2012 , 16:25   Re: Pistol ammo
Reply With Quote #2

you can't have conditions in aliases, also this is amxx scripting help forum
jimaway is offline
Blue Snake.
Member
Join Date: May 2011
Location: Romania
Old 08-30-2012 , 15:48   Re: Pistol ammo
Reply With Quote #3

Yes, i know it's amxx help but on alliedmods there's no forum for my question. Thanks for answer. You can lock the topic / delete it.

Last edited by Blue Snake.; 08-30-2012 at 15:49.
Blue Snake. is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-31-2012 , 02:01   Re: Pistol ammo
Reply With Quote #4

Moved to correct forum.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 01:29.


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