Raised This Month: $ Target: $400
 0% 

can't drop weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
pingplug
Member
Join Date: Jul 2011
Old 08-02-2011 , 05:17   can't drop weapons
#1

Quote:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "weapondrop"
#define VERSION "1.0"
#define AUTHOR "pingplug"


new bool: drop_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(id, print_center, "Can't Drop Weapons")
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
Attached Files
File Type: sma Get Plugin or Get Source (weapondrop.sma - 617 views - 803 Bytes)
__________________
Working on:
[AMXX] Scripting

Last edited by Arkshine; 08-02-2011 at 07:03.
pingplug is offline
Send a message via Yahoo to pingplug Send a message via Skype™ to pingplug
 



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 03:20.


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