Clip ammo bug (solved)
hello everyone. i got a little problem here.
this gun Aeolis has "150" ammo, however its plugin is written "125" ammo. so i changed the clip size to "150", and tested it in game, it didn't show "150" clip ammo but a "106" clip ammo showed. http://i.imgur.com/ELw7hnk.png i just know how to change constants in amxx scripting, so please help. thank you. :) source files can be found here. |
Re: Clip ammo bug (CS Weapon: Aeolis)
When you send number >105 clip ammo HUD start acting weird. It show some random values instead of needed one :/
|
Re: Clip ammo bug (CS Weapon: Aeolis)
Quote:
|
Re: Clip ammo bug (CS Weapon: Aeolis)
Quote:
|
Re: Clip ammo bug (CS Weapon: Aeolis)
Quote:
|
Re: Clip ammo bug (CS Weapon: Aeolis)
Quote:
|
Re: Clip ammo bug (CS Weapon: Aeolis)
Everything had specific reasons.
https://wiki.alliedmods.net/Half-Lif...ents#CurWeapon "ClipAmmo" is written as a "byte" And a byte (or char): http://stackoverflow.com/questions/5...f-int-long-etc It's between: Quote:
|
Re: Clip ammo bug (CS Weapon: Aeolis)
Quote:
Quote:
(i am a new-newbie :wink: |
Re: Clip ammo bug (CS Weapon: Aeolis)
Quote:
|
| All times are GMT -4. The time now is 21:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.