Raised This Month: $ Target: $400
 0% 

Checking Primary/Secondary Weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-05-2010 , 06:38   Re: Checking Primary/Secondary Weapons
Reply With Quote #7

Ways by Dores are always wrong

PHP Code:
#define XTRA_OFS_PLAYER    5
#define m_pActiveItem    373

Get_User_Weapon_ItemSlot(id)
{
    new 
iActiveItem get_pdata_cbase(idm_pActiveItemXTRA_OFS_PLAYER)
    if( 
iActiveItem )
    {
        return 
ExecuteHam(Ham_Item_ItemSlotiActiveItem)
    }
    return 
0

__________________
- 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 01:37.


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