Raised This Month: $ Target: $400
 0% 

Strip user


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-03-2009 , 17:58   Re: Strip user
Reply With Quote #9

Something like this :

PHP Code:
#define m_rgpPlayerItems_Slot1    367
#define m_pActiveItem            373

#define    m_pNext                42


Strip_User_Primariesid )
{
    new 
iWeaponiNextiActiveItem
    iWeapon 
get_pdata_cbase(idm_rgpPlayerItems_Slot1)
    
iActiveItem get_pdata_cbase(idm_pActiveItem)
    while( 
pev_valid(iWeapon) )
     {
        
iNext get_pdata_cbase(iWeaponm_pNext4)
        if( 
iActiveItem == iWeapon )
        {
            
ExecuteHam(Ham_Item_HolsteriWeapon)
        }
        
set_pev(iWeaponpev_flagspev(iWeaponpev_flags) | FL_KILLME)
        
iWeapon iNext
    
}

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
 



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:22.


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