AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   Pistol ammo (https://forums.alliedmods.net/showthread.php?t=194593)

Blue Snake. 08-29-2012 13:25

Pistol ammo
 
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.

jimaway 08-29-2012 16:25

Re: Pistol ammo
 
you can't have conditions in aliases, also this is amxx scripting help forum

Blue Snake. 08-30-2012 15:48

Re: Pistol ammo
 
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.

ConnorMcLeod 08-31-2012 02:01

Re: Pistol ammo
 
Moved to correct forum.


All times are GMT -4. The time now is 02:45.

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