Raised This Month: $ Target: $400
 0% 

Ham_Touch,can pick up only:m3,elite and other.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 12-21-2008 , 11:36   Re: Ham_Touch,can pick up only:m3,elite and other.
Reply With Quote #2

I would suggest fakemeta.
Code:
#include <fakemeta>   public plugin_init()         register_forward(FM_Touch, "fwdTouch");   public fwdTouch(ent, id) {         if (!is_user_alive(id) || !pev_valid(ent))                 return FMRES_IGNORED;           new szMdl[32];         pev(ent, pev_model, szMdl, 31);           if (!equali(szMdl, "models/w_m3.mdl") &&         !equali(szMdl, "models/w_elite.mdl") &&         !equali(szMdl, "models/w_m4a1.mdl") &&         !equali(szMdl, "models/w_mac10.mdl"))                 return FMRES_SUPERCEDE;           return FMRES_IGNORED; }
__________________

Last edited by hleV; 12-22-2008 at 05:42.
hleV is offline
 



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 09:06.


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