Raised This Month: $ Target: $400
 0% 

[REQUEST] clean defuse kit off map on CT death


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VEN
Veteran Member
Join Date: Jan 2005
Old 03-05-2006 , 16:30  
Reply With Quote #1

Code:
// Warning: plugin would cause defkit strip on fun give_item "item_thighpack"! // Fakemeta module required #include <amxmodx> #include <fakemeta> #define CVAR "amx_nodefkitdrop_ondeath" #define DKIT "models/w_thighpack.mdl" public plugin_init() {     register_plugin("No Defuser Drop on Death", "0.1", "VEN")     register_forward(FM_SetModel, "forward_set_model")     register_cvar(CVAR, "1") } public forward_set_model(entid, model[]) {     if (equal(model, DKIT) && get_cvar_num(CVAR))         engfunc(EngFunc_RemoveEntity, entid) }
VEN is offline
Reply


Thread Tools
Display Modes

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


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