Raised This Month: $ Target: $400
 0% 

Remove specific weapon from ground?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 12-21-2010 , 14:29   Re: Remove specific weapon from ground?
Reply With Quote #1

Code:
#include <amxmodx> #include <fakemeta>   public plugin_init()         register_forward(FM_SetModel, "SetModel");   public SetModel(ent, model[]) {         if (!equal(model, "models/w_awp.mdl"))                 return FMRES_IGNORED;           // I wonder if remove_entity() would be better in this case         set_pev(ent, pev(ent, pev_flags) | FL_KILLME);           return FMRES_SUPERCEDE; }
__________________
hleV is offline
Old 12-21-2010, 15:52
meTaLiCroSS
This message has been deleted by meTaLiCroSS. Reason: bugbug
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 10:44.


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