CCSPlayerController player = Utilities.GetPlayerFromUserid(id);
player.GiveNamedItem<CItemHeavyAssaultSuit>("CItemHeavyAssaultSuit");
Could not give item "HeavyAssaultSuit" Because the resource path is not right.
Found in vpk:
characters/models/tm_phoenix_heavy/tm_phoenix_heavy.vmdl_ccharacters/models/tm_phoenix_heavy/sleeve/sleeve_tm_heavy.vmdl_ccharacters/models/ctm_heavy/ctm_heavy.vmdl_ccharacters/models/ctm_heavy/sleeve/sleeve_ctm_heavy.vmdl_c
And here is the log:
Failed loading resource "characters/models/tm_heavy/tm_phoenix_heavy.vmdl_c" (ERROR_FILEOPEN: File not found)
C:\buildworker\csgo_rel_win64\build\src\resourcesystem\resourcesystem.cpp (1217) : AssertMsg Failed in function CResourceSystem::BlockingLoadResourceByNameIntoJustInTimeManifest():
false
Resource "characters/models/tm_heavy/tm_phoenix_heavy.vmdl" was not precached but was loaded by a just in time blocking load.
Calling Steam to write a minidump for the assert
Failed loading resource "models/weapons/v_models/arms/phoenix_heavy/v_sleeve_phoenix_heavy.vmdl_c" (ERROR_FILEOPEN: File not found)
C:\buildworker\csgo_rel_win64\build\src\resourcesystem\resourcesystem.cpp (1217) : AssertMsg Failed in function CResourceSystem::BlockingLoadResourceByNameIntoJustInTimeManifest():
false
Resource "models/weapons/v_models/arms/phoenix_heavy/v_sleeve_phoenix_heavy.vmdl" was not precached but was loaded by a just in time blocking load.
Failed loading resource "models/weapons/v_models/arms/ctm_heavy/v_sleeve_ctm_heavy.vmdl_c" (ERROR_FILEOPEN: File not found)
C:\buildworker\csgo_rel_win64\build\src\resourcesystem\resourcesystem.cpp (1217) : AssertMsg Failed in function CResourceSystem::BlockingLoadResourceByNameIntoJustInTimeManifest():
false
Resource "models/weapons/v_models/arms/ctm_heavy/v_sleeve_ctm_heavy.vmdl" was not precached but was loaded by a just in time blocking load.
Could not give item "HeavyAssaultSuit" Because the resource path is not right.
Found in vpk:
characters/models/tm_phoenix_heavy/tm_phoenix_heavy.vmdl_c
characters/models/tm_phoenix_heavy/sleeve/sleeve_tm_heavy.vmdl_c
characters/models/ctm_heavy/ctm_heavy.vmdl_c
characters/models/ctm_heavy/sleeve/sleeve_ctm_heavy.vmdl_c
And here is the log: