Raised This Month: $ Target: $400
 0% 

Restrict Functiuon to Model


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 10-16-2006 , 10:12   Re: Restrict Functiuon to Model
Reply With Quote #3

Rollnaab, seriously, stop posting rubbish.

---

Stephen, you got 2 if clauses that don't make any sense. The first one and the one with if(get_pdata_int...).

Just put this on top of the function to only make it work for the gaben model:

Code:
static userModel[32]; cs_get_user_model(id, userModel, 31); if( !equal(userModel, "gaben.mdl") )      return PLUGIN_HANDLED
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood 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 04:44.


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