Raised This Month: $ Target: $400
 0% 

[REQ]10 Seconds no Gun's


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 06-10-2009 , 04:51   Re: [REQ]10 Seconds no Gun's
Reply With Quote #10

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

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "TitANious"


public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
RegisterHam(Ham_Spawn"player""fwSpawn"1);
}
public 
fwSpawn id )
{
    
strip_user_weapons id )
    
    
set_task 10.0"GiveWeapons" )
}
public 
GiveWeapons id )
{
    if ( 
get_user_team id ) == )
    {
        new 
usp give_item id"weapon_usp" );
        
give_item id"weapon_knife" );
        
cs_set_weapon_ammo(usp12);
        
cs_set_user_bpammo(idCSW_USP24);
    }
    else if ( 
get_user_team id ) == 2)
    {
        new 
glock give_item id"weapon_glock18" );
        
give_item id"weapon_knife" );
        
cs_set_weapon_ammo(glock20);
        
cs_set_user_bpammo(idCSW_GLOCK1840);
    }

__________________
xPaw 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 23:36.


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