Hi, I precached some models and tryed to replace them with orpheu. Now its giving me the Host_Error: PF_Precache_Model_I: Bad String " error when I try to test it. So would this be the right orpheu signature for this?
weapon:
addons\configs\orpheu\memory\weaponModels
Code:
{
"name" : "weaponModels",
"library" : "mod",
"type" : "string",
"memoryType" : "data"
}
player:
addons\configs\orpheu\memory\PlayerModel
Code:
{
"name" : "PlayerModel",
"library" : "mod",
"type" : "string",
"memoryType" : "data"
}
The code looks like this:
PHP Code:
#include <amxmodx>
#include <orpheu_memory>
public plugin_precache()
{
precache_model( "models/new/v_aug.mdl" );
//and more of them
OrpheuMemoryReplace( "weaponModels", 0, "models/v_aug.mdl", "models/new/v_aug.mdl" );
//...
precache_model( "models/player/new/new.mdl" )
OrpheuMemoryReplace( "PlayerModel", 0, "sas", "new" );
}