Raised This Month: $51 Target: $400
 12% 

Auto Drop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tups
Junior Member
Join Date: Mar 2013
Old 06-11-2014 , 14:03   Auto Drop
Reply With Quote #1

Hey somebody please make me plugin When the round is end this drop all weapons automatic

Sorry my bad English
Tups is offline
Hembi
Member
Join Date: Mar 2013
Location: Hungary
Old 06-11-2014 , 14:09   Re: Auto Drop
Reply With Quote #2

Duplicate Post!
https://forums.alliedmods.net/showth...d+strip+weapon

Plugin:
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"); 
    }
    } 

Hembi is offline
Reply



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 11:22.


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