Raised This Month: $ Target: $400
 0% 

[HELP] Striping Weapon.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 06-16-2009 , 17:23   Re: [HELP] Striping Weapon.
Reply With Quote #4

PHP Code:
#include <amxmodx>
#include <fun>

new g_weapons[33][32]
new 
g_iNum[33]

public 
plugin_init() 
{
    
register_plugin("1""2""3")
    
    
register_clcmd("say test1""test1")
    
register_clcmd("say test2""test2")
}

public 
test1id )
{
    
get_user_weapons(idg_weapons[id], g_iNum[id])
    
strip_user_weapons(id)
}

public 
test2id )
{
    static 
StrData[32], i
    
for(0g_iNum[id]; i++)
    {
        
get_weaponname(g_weapons[id][i], StrData31)
        
give_item(idStrData)
    }

Fix, I do this some month ago.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
 



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 14:05.


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