Raised This Month: $ Target: $400
 0% 

NEW! Avatar Mod [ CS 1.6 ] I need some help :S


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
r0ck
Senior Member
Join Date: Jun 2011
Location: India
Old 07-29-2011 , 00:43   Re: NEW! Avatar Mod [ CS 1.6 ] I need some help :S
Reply With Quote #1

Quote:
3.No weapon drop + no weapon drop on die...
no weapon drop on Die

http://forums.alliedmods.net/showthread.php?p=202171

BLOCK WEAPON DROP

PHP Code:
new booldrop_locked

public plugin_init()
{
    
register_clcmd("drop","drop",0,"")
        
    
register_logevent("round_start"2"0=World triggered""1=Round_Start")
}

public 
round_start()
{
    
drop_locked true
}

public 
drop(id)
{
    if (
drop_locked)
        { 
                
client_print(idprint_center"Can't Drop Weapons")
                return 
PLUGIN_HANDLED
         
}
    return 
PLUGIN_CONTINUE

__________________
Preparing to release my plugins..
r0ck 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 01:10.


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