Raised This Month: $ Target: $400
 0% 

Striping primary weapons, so it dont pile up


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 04-11-2009 , 13:27   Striping primary weapons, so it dont pile up
Reply With Quote #1

PHP Code:
stock GivePrimaryAmmoid )
{
    new 
nWeapons[32], nNumijk
    
new szWeaponName[32]

    
// Only give Primary Ammo for Guns Carried
    
get_user_weaponsidnWeaponsnNum )
    for( 
0nNumi++ )
    {
        
get_weaponnamenWeapons[i], szWeaponName31 )
        for( 
OFFSET_SHOTGUNMAX_WEAPONSj++ )
        {
            if( 
equaliszWeaponNameg_szWeaponList[j] ) )
            {
                for( 
0g_nWeaponData[j][1]; k++ )
                    
give_itemidg_szAmmoList[g_nWeaponData[j][0]] )
            }
        }
    }
    return

Would it could be used?
And is there a way so the weapons dont drop?
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.

Last edited by TitANious; 04-11-2009 at 16:03.
TitANious is offline
Send a message via MSN to TitANious
 



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 02:24.


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