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

Drop weapon at round end


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bloods
Member
Join Date: Aug 2013
Old 08-10-2013 , 10:45   Drop weapon at round end
Reply With Quote #1

Is there a weapon that makes a player drop every weapon he has(except knife) at the round end?

On jailbreak, the players that carry a weapon from the previous round get the gunbug..
Bloods is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 08-10-2013 , 10:56   Re: Drop weapon at round end
Reply With Quote #2

which jailbreak plugin are you using?
List your plugins.ini

by default, all jailbreak plugins in the forums are working great (Related to your problem)
sami_spt is offline
Bloods
Member
Join Date: Aug 2013
Old 08-10-2013 , 17:23   Re: Drop weapon at round end
Reply With Quote #3

I am helping out a friend so I cannot post it. He asked that I help, I just need to know if there is a plugin that does this..
Bloods is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 08-10-2013 , 17:28   Re: Drop weapon at round end
Reply With Quote #4

Quote:
Originally Posted by Bloods View Post
Is there a weapon that makes a player drop every weapon he has(except knife) at the round end?

On jailbreak, the players that carry a weapon from the previous round get the gunbug..
Hook Round End and Strip weapons other then 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
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 08-11-2013 , 02:46   Re: Drop weapon at round end
Reply With Quote #5

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()
{
    
strip_user_weapons(id);
    
give_item(id"weapon_knife");

sami_spt is offline
Erdener
Senior Member
Join Date: Apr 2010
Location: Turkey
Old 08-11-2013 , 04:02   Re: Drop weapon at round end
Reply With Quote #6

PHP Code:
public round_end()
{
    
strip_user_weapons(id);
    
give_item(id"weapon_knife");

-->

PHP Code:
public round_end()
{
    new 
players[32],inum;
    
get_players(players,inum)
    for(new 
idid<inum;id++) {
        
strip_user_weapons(id);
        
give_item(id"weapon_knife");
    }

Erdener is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 08-11-2013 , 04:07   Re: Drop weapon at round end
Reply With Quote #7

Quote:
Originally Posted by Erdener View Post
PHP Code:
public round_end()
{
    
strip_user_weapons(id);
    
give_item(id"weapon_knife");

-->

PHP Code:
public round_end()
{
    new 
players[32],inum;
    
get_players(players,inum)
    for(new 
idid<inum;id++) {
        
strip_user_weapons(id);
        
give_item(id"weapon_knife");
    }

Make sure you check they are alive or you will get error messages
__________________
Blizzard_87 is offline
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
Shooting King
RAAASENGAN
Join Date: Mar 2012
Location: India
Old 08-11-2013 , 07:39   Re: Drop weapon at round end
Reply With Quote #9

You guys are forgetting what OP asked for. Drop instead of Strip.
@OP
There are no weapons like that there may be plugins
__________________
As every time said, don't ever UNDERESTIMATE me.

Donate - Here

Last edited by Shooting King; 08-11-2013 at 07:42.
Shooting King is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 08-11-2013 , 07:41   Re: Drop weapon at round end
Reply With Quote #10

Well, i've seen that,

DROP, STRIP. . . he wanted it in round end, so does it really matter?
sami_spt 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 23:51.


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