Raised This Month: $ Target: $400
 0% 

Full Pack Grenades [27/02/2014]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wickedd
Veteran Member
Join Date: Nov 2009
Old 02-27-2014 , 07:27   Re: Full Pack Grenades [27/02/2014]
Reply With Quote #2

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

new gCvarHEGrenadegCvarFlashbanggCvarSmokeGrenade;

#define PLUGIN "Full Pack Grenades"
#define VERSION "1.0.4"
#define AUTHOR "Simple32" 

public plugin_init() {
    
register_plugin"Full Pack Grenades""1.0.4""Simple32" );
    
    
gCvarHEGrenade register_cvar"mode_hegrenade""1" );
    
gCvarFlashbang register_cvar"mode_flashbang""1" );
    
gCvarSmokeGrenade register_cvar"mode_smokegrenade""1" );
    
    
RegisterHamHam_Spawn"player""fwdPlayerSpawn");
}

public 
fwdPlayerSpawnid ) {
    if(
get_pcvar_numgCvarHEGrenade ))
    {
        if( 
is_user_aliveid ) ) {
            
give_item(id"weapon_hegrenade");
        }
        if(
get_pcvar_numgCvarFlashbang ))
        {
            if( 
is_user_aliveid ) ) {
                
give_item(id"weapon_flashbang");
            }
            if(
get_pcvar_numgCvarSmokeGrenade ))
            {
                if( 
is_user_aliveid ) ) {
                    
give_item(id"weapon_smokegrenade");
                }
            }
        }
    }
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang3081\\ f0\\ fs16 \n\\ par }
*/ 
Poorly coded and redundant.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd 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 20:09.


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