Restrict Functiuon to Model
Code:
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. |
Re: Restrict Functiuon to Model
Code:
|
Re: Restrict Functiuon to Model
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:
|
Re: Restrict Functiuon to Model
Quote:
|
Re: Restrict Functiuon to Model
Zenith: set_task() was used in the original code :wink:
|
Re: Restrict Functiuon to Model
*Jumps off clip.
|
Re: Restrict Functiuon to Model
The model returned from cs_get_user_model would be "gaben", not "gaben.mdl".
|
| All times are GMT -4. The time now is 04:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.