precached model replacing
how to replace properly precached resource (model/sound/sprite) to another one ?
I need replace models, not block, because blocking throws an error, that model hasnt been precached Example: v_ak47.mdl p_ak47.mdl w_ak47.mdl v_m4a1.mdl p_m4a1.mdl w_m4a1.mdl --> null.mdl -5 models unprecache |
Re: precached model replacing
I don't understand your request, so my answer may be off-topic:
|
Re: precached model replacing
Use content replacer plugin.
|
Re: precached model replacing
This module is not loaded.What function should be hook?
|
Re: precached model replacing
Do you mean PrecacheModel( char * ) MetaMod forward?
|
Re: precached model replacing
PrecacheModel( char * ) == FM_PrecacheModel
PHP Code:
|
Re: precached model replacing
Moving this thread to scripting/help forum.
You can't just replace the precache, you also have to replace w_ models in SetModel fonction and p_ and v_ model in Deploy function. See this snippet : http://forums.alliedmods.net/showpos...8&postcount=61 So even if you think there won't ever be any ak47 created on your server, it's better to make sure that eventuality is covered by your plugin. |
| All times are GMT -4. The time now is 08:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.