Raised This Month: $ Target: $400
 0% 

Weapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 07-04-2009 , 02:10   Re: Weapon
Reply With Quote #2

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <cstrike>
#include <fakemeta>

#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_forward(FM_Touch"fw_WeaponTouch")
}

public 
fw_WeaponTouch(iEntid)
{
    if (
is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_T)
    {
        new 
ClName[32]
        
pev(iEntpev_classnameClName31)
        
        if (
equal(ClName"weaponbox") || equal(ClName"armoury_entity") || equal(ClName"grenade"))
            return 
FMRES_SUPERCEDE
    
}
    return 
FMRES_IGNORED

__________________
vato loco [GE-S] 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 15:36.


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