Raised This Month: $ Target: $400
 0% 

Restrict Functiuon to Model


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Stephen
Senior Member
Join Date: Aug 2004
Old 10-14-2006 , 15:20   Restrict Functiuon to Model
Reply With Quote #1

Code:
public function(id) {     if (EArray[id] == 0)     if (entity_get_int(id, EV_INT_playerclass) == 1)     {         new animation = entity_get_int(id, EV_INT_sequence)         if (animation == 1)         {             if (get_pdata_int(id, 666) > 1)                     set_task(0.1,"Ignition",id)             return PLUGIN_HANDLED         }     }     return PLUGIN_CONTINUE }

Hey there.
I have an question HOW would i stop "function(id)" from beeing used when the correct model inst used.
Lets say you have to be SuperduperModel.mdl to make the above Fuction work.

I hope you understand what i mean.
__________________
www.corona-bytes.net (ECX = ESF Addon)
Stephen 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