View Single Post
Chevalier
BANNED
Join Date: Aug 2015
Location: Anywhere
Old 01-04-2016 , 10:20   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #196

Quote:
Originally Posted by nguyenbaodanh View Post
Some one help me with this please ! ...


And the Gifts drop give out Big error box ... how to fix ?
"position" "-1.500000 -6.500000 -11.500000"
"angles" "-65.000000 170.000000 0.000000"

Gift drop giving error box means model is missing.
Just go to the gift box thread, get the source code and edit the model location YOU want.

if(strcmp(m_szGameDir, "cstrike")==0)
g_cvarModel = RegisterConVar("sm_gifts_model", "models/items/cs_gift.mdl", "Model file for the gift", TYPE_STRING);
else if(strcmp(m_szGameDir, "dod")==0)
g_cvarModel = RegisterConVar("sm_gifts_model", "models/items/dod_gift.mdl", "Model file for the gift", TYPE_STRING);
else if(strcmp(m_szGameDir, "tf")==0)
g_cvarModel = RegisterConVar("sm_gifts_model", "models/items/tf_gift.mdl", "Model file for the gift", TYPE_STRING);
else
g_cvarModel = RegisterConVar("sm_gifts_model", "<you should set some gift model>", "Model file for the gift", TYPE_STRING);

AutoExecConfig();

Mind you choose the one for the game you're using the store for.
Chevalier is offline