Raised This Month: $ Target: $400
 0% 

Solved Wrong Shotgun Reload Animation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 07-07-2017 , 13:44   Re: Wrong Shotgun Reload Animation
Reply With Quote #1

Code:
if( iClip < iMaxClip && iClip == iDftMaxClip && iBpAmmo )
        {
            Shotgun_Reload(iEnt, iId, iMaxClip, iClip, iBpAmmo, id)
            return
        }
        else if( iClip == iMaxClip && iClip != iDftMaxClip )
        {
-->

Code:
if( iClip < iMaxClip && iBpAmmo )
        {
            Shotgun_Reload(iEnt, iId, iMaxClip, iClip, iBpAmmo, id)
            return
        }
        else if( iClip == iMaxClip )
        {
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 07-08-2017 , 00:02   Re: Wrong Shotgun Reload Animation
Reply With Quote #2

Quote:
Originally Posted by NiHiLaNTh View Post
Code:
if( iClip < iMaxClip && iClip == iDftMaxClip && iBpAmmo )
        {
            Shotgun_Reload(iEnt, iId, iMaxClip, iClip, iBpAmmo, id)
            return
        }
        else if( iClip == iMaxClip && iClip != iDftMaxClip )
        {
-->

Code:
if( iClip < iMaxClip && iBpAmmo )
        {
            Shotgun_Reload(iEnt, iId, iMaxClip, iClip, iBpAmmo, id)
            return
        }
        else if( iClip == iMaxClip )
        {
It will make the reload stop at 8 (default of Weapon)
__________________
My plugin:
Celena Luna 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 23:10.


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