Raised This Month: $ Target: $400
 0% 

Drop all weapons on round end


Post New Thread Reply   
 
Thread Tools Display Modes
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 08-29-2009 , 21:53   Re: Drop all weapons on round end
Reply With Quote #21

Quote:
the players dont enter and it only says Round Draw
I didn't understand this.

What thing is not working? you don't get strip of the weapons and get only a knife in the respawn? Or what?
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
superang
Senior Member
Join Date: Apr 2009
Location: Portugal
Old 08-30-2009 , 04:59   Re: Drop all weapons on round end
Reply With Quote #22

lol they dont enter, and and the round keeps ending and say Round Draw
__________________
superang is offline
Send a message via MSN to superang
Teambash
Junior Member
Join Date: Sep 2009
Old 10-04-2009 , 11:22   Re: Drop all weapons on round end
Reply With Quote #23

this plugin is failed by compile
Teambash is offline
Send a message via MSN to Teambash
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-04-2009 , 15:39   Re: Drop all weapons on round end
Reply With Quote #24

minimiller method works, but you still have to set the primaryweapon offset to 0, or backweapon plugin will fail, and also, declare this plugin before backweapons in plugins.ini
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Dr Zayd
Senior Member
Join Date: Jun 2014
Location: forums.alliedmods.net
Old 09-14-2014 , 08:42   Re: Drop all weapons on round end
Reply With Quote #25

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

#define OFFSET_PRIMARYWEAPON 116 

new g_iMaxPlayers

public 
plugin_init() 

    
register_plugin("Drop weapons""1.0""Dr Zayd"); 
    
    
RegisterHam(Ham_Spawn"player""PlayerSpawn")
    
    
register_logevent("round_end"2"1=Round_End"); 
    
    
g_iMaxPlayers get_maxplayers(); 


public 
round_end() 

    static 
id
    for(
id id <= g_iMaxPlayers id++) 
    { 
        if(!
is_user_alive(id)) 
            continue; 
        
        
set_user_maxspeed(id0.00001); 
        
strip_user_weapons(id); 
        
set_pdata_int(idOFFSET_PRIMARYWEAPON0); 
        
give_item(id"weapon_knife"); 
    } 
}

public 
PlayerSpawn(id)
{
    if(!
is_user_alive(id))
        return 
HAM_SUPERCEDE
    
    strip_user_weapons
(id);
    
set_pdata_int(idOFFSET_PRIMARYWEAPON0);
    
give_item(id"weapon_knife"); 
    
    return 
HAM_IGNORED

Added :

PHP Code:
    register_plugin("Drop weapons""1.0""Dr Zayd"); 
That All lol
__________________
Invisible System | 100%
ـــــــــــــــــــــــــــــ
Anti setinfo check | Ez Plugin and lite
ـــــــــــــــــــــــــــــ
[ZP] Free VIP Menu | Free VIP menu | ZP-Mod |
Dr Zayd is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 09-16-2014 , 15:16   Re: Drop all weapons on round end
Reply With Quote #26

You are making a post to say you changed the author of a plugin that isn't yours on a thread that is 5 years old? Seriously...
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
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 20:13.


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