AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Reload and more ammo. (https://forums.alliedmods.net/showthread.php?t=156349)

Screeaam.. 05-04-2011 21:08

Reload and more ammo.
 
Hello everyone.

How can I do in CurWeapon that when you have a variable "ammo" is the ammo for all weapons in the clip will be increased by variable "ammo" even after reload.

Kreation 05-04-2011 21:22

Re: Reload and more ammo.
 
You can start by searching. :wink:

Screeaam.. 05-05-2011 06:29

Re: Reload and more ammo.
 
I can't found anything. ; /

But.. Found this:
http://forums.alliedmods.net/showthr...eapon+max+clip

But it's only for m4a1 and AWP and I need for all weapons. ; /

SonicSonedit 05-05-2011 07:06

Re: Reload and more ammo.
 
Screeaam..
Edit it yourself.
Check for weapon info here CS Weapons Information - AlliedModders Wiki and in amxconst.inc (search for CSW_)

Screeaam.. 05-05-2011 07:11

Re: Reload and more ammo.
 
I know, but how can I made it for all weapons?

SonicSonedit 05-05-2011 07:21

Re: Reload and more ammo.
 
Screeaam..
Add checks for all weapons. I posted weapon info above. Find where it is checked for m4a1/awp and add new weapon checks.

Screeaam.. 05-05-2011 14:50

Re: Reload and more ammo.
 
I can't do this. ; / I add M4A1 and i don't have crossair and no ammo in bp.

ConnorMcLeod 05-05-2011 15:03

Re: Reload and more ammo.
 
http://forums.alliedmods.net/showthread.php?p=728613

Screeaam.. 05-05-2011 15:47

Re: Reload and more ammo.
 
Nah. I need it into my plugin. And per lvl will be more ammo.

Hunter-Digital 05-05-2011 16:38

Re: Reload and more ammo.
 
How about looking at the code then ?


All times are GMT -4. The time now is 04:28.

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