Raised This Month: $51 Target: $400
 12% 

precacheing qustion


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
(_msv)dakilla(_msv)
Member
Join Date: Nov 2004
Location: Illions
Old 12-18-2004 , 19:29   precacheing qustion
Reply With Quote #1

ok i need to precache a gfx and precache a sprite how would i do that because when i did it like this
precache_gfx("gfx/shmod/640_awp.tga")
precache_sprite("sprites/shmod/w_m82.spr")

when i put it through the compiler i get this error
it said undefined symbol
how should it look
__________________
my server ips
69.90.113.40:27015 | 8.9.2.158:27025 |64.27.12.39:27015 | 70.84.52.34:27018
70.84.52.34:27016 | 70.84.52.34:27019
(_msv)dakilla(_msv) is offline
Send a message via AIM to (_msv)dakilla(_msv) Send a message via MSN to (_msv)dakilla(_msv)
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 12-18-2004 , 19:48  
Reply With Quote #2

with the sprites you have to use this:
precache_model("sprites/white.spr");

But I don't know about the gfx tyr using model too...
__________________
//ShadowLeader - 123
123 is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 12-19-2004 , 00:12  
Reply With Quote #3

you can only precache models and sounds as far as I know... (models do include sprites though, not sure about textures but I assume its the same)
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 12-19-2004 , 22:43  
Reply With Quote #4

look in the includes to see the diff precaching functions, you can precache anything except certian blocked file extensions (like exe and dll and other bad things)
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Reply



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 19:18.


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