View Single Post
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 08-11-2013 , 07:37   Re: Drop weapon at round end
Reply With Quote #8

Compiles Fine.Test and Reply if anything else needed.
Credits to Sami and Erdener and Blizzard

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

public plugin_init()
{
    
register_plugin("Drop weapons""1.0""Stewie!");
    
    
register_logevent("round_end"2"1=Round_End");
}

public 
round_end() 

    new 
players[32],inum
    
get_players(players,inum
    for(new 
idid<inum;id++) { 
       if( 
is_user_alive(id) )
    {
        
strip_user_weapons(id); 
        
give_item(id"weapon_knife"); 
    }
    } 

__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline