Raised This Month: $ Target: $400
 0% 

precaching arrays


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
brN17
Junior Member
Join Date: Mar 2022
Old 05-26-2022 , 16:40   precaching arrays
Reply With Quote #1

Hello, got an error on server console, how am I supposed to precache correctly this way?

Code:
FATAL ERROR (shutting down): SV_ModelIndex: SV_ModelIndex: model Chucky not precached
Segmentation fault (core dumped)
the arrays on my code are like that:

Code:
new const g_ModelData[Knifes][KnifeModels] =  
{ 
	{ "Chucky",		"models/shmod/chuckyy_VIP_knife.mdl"},
	{ "DarthMaul",		"models/shmod/darthmaul_VIP_knife.mdl"},
	{ "Riddick",		"models/shmod/riddick_VIP_knife.mdl"},
	{ "Wolv",		"models/shmod/wolv_VIP_knife.mdl"},
	{ "Grim",		"models/shmod/grimreaper_VIP_knife.mdl"}
}

new const g_ModelPData[Knifes][PModels] =  
{ 
	{ "Chucky",		"models/p_knife.mdl"},
	{ "DarthMaul",		"models/shmod/darthmaul_p_knife.mdl"},
	{ "Riddick",		"models/p_knife.mdl"},
	{ "Wolv",		"models/p_knife.mdl"},
	{ "Grim",		"models/shmod/grimreaperV_p_knife.mdl"}
}
brN17 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode