Raised This Month: $ Target: $400
 0% 

precache help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
darcadarca
Senior Member
Join Date: Feb 2012
Location: Romania
Old 06-02-2013 , 13:40   precache help
Reply With Quote #1

hi, i have this from khalid knife menu plugin :
Code:
new something[100]
formatex(something, charsmax(something), "models/%s.mdl", MODELS[1][V_MODEL])
copy(g_szModels[1][V_MODEL], charsmax(g_szModels[][]), something)

server_print("Something: %s", something)
precache_model(something)
everithing works fine,but if i want to change [ from models/ to models/player/ ] doesn't work
and this :
Code:
for(new i = 2; i < KNIFES_NUM + 1; i++)
{
	formatex(something, 99, "models/dArc/%s.mdl", MODELS[i][V_MODEL])
	precache_model(something)
	server_print("Something: %s", something)
	copy(g_szModels[i][V_MODEL], charsmax(g_szModels[][]), something)
}
please, i need this to precache players models more simple.. someone help ?
__________________
hqqqqqqqq

Last edited by darcadarca; 06-02-2013 at 13:45.
darcadarca is offline
Send a message via Yahoo to darcadarca
 



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 16:17.


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