AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Simplest way to set max clip (https://forums.alliedmods.net/showthread.php?t=224610)

~Ice*shOt 08-26-2013 09:22

Simplest way to set max clip
 
Hi, I need code how to set only for one weapon max clip in simplest way.

devilicioux 08-27-2013 05:24

Re: Simplest way to set max clip
 
Quote:

Originally Posted by ~Ice*shOt (Post 2021983)
Hi, I need code how to set only for one weapon max clip in simplest way.

http://forums.alliedmods.net/showthread.php?p=728613

~Ice*shOt 08-27-2013 05:34

Re: Simplest way to set max clip
 
Quote:

one weapon
I don't want all weapons, because it's too big code, show to me how to do it with one weapon.

devilicioux 08-27-2013 06:01

Re: Simplest way to set max clip
 
Quote:

Originally Posted by ~Ice*shOt (Post 2022471)
I don't want all weapons, because it's too big code, show to me how to do it with one weapon.

So u basically want to fill up ammo for just 1 weapon and not all ?
Run a check on all the players ..Check who has the that weapon and is he alive and set his ammo to FULL.Use Set_task()

Also you can use this http://wiki.amxmodx.org/CS_Weapons_Information

mottzi 08-27-2013 16:05

Re: Simplest way to set max clip
 
Quote:

Originally Posted by ~Ice*shOt (Post 2022471)
I don't want all weapons, because it's too big code, show to me how to do it with one weapon.

Its simply not simple. Look at Connors code, from there you can lern how to get this done.


All times are GMT -4. The time now is 18:57.

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