Raised This Month: $ Target: $400
 0% 

Mod_NumForName: weapons/mortar.wav not found


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.G
Senior Member
Join Date: Nov 2008
Old 12-21-2008 , 07:58   Mod_NumForName: weapons/mortar.wav not found
Reply With Quote #1

Hi

I have made a plugin that create a mortar field for a dod map, and it works perfect on windows server, and 1 linux server this far.. But not on my own... first i got this error

Quote:
FATAL ERROR (shutting down): Host_Error: PF_precache_sound_I: 'weapons/mortar.wav' Precache can only be done in spawn functions
And thought ok maybe it needs the sound precached in "public plugin_precache()" but that gives me a new error, this:

Quote:
FATAL ERROR (shutting down): Mod_NumForName: weapons/mortar.wav not found
Well since creating a mortar field is done with via an entity it should be apart of the game, and not need that sound in the first place.. it should just "belive" its a part of the game.. but it obviosly doesnt...

Anyone who knows how to solve this? The mortar field is created like this:
PHP Code:
new ent engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"func_mortar_field")) 
Thanks in advance!
Dr.G is offline
hzqst
Senior Member
Join Date: Jul 2008
Old 12-21-2008 , 08:04   Re: Mod_NumForName: weapons/mortar.wav not found
Reply With Quote #2

precache this sound
hzqst is offline
Dr.G
Senior Member
Join Date: Nov 2008
Old 12-21-2008 , 08:07   Re: Mod_NumForName: weapons/mortar.wav not found
Reply With Quote #3

Ive tryed that...

Quote:
Originally Posted by Dr.G View Post
And thought ok maybe it needs the sound precached in "public plugin_precache()" but that gives me a new error..
Dr.G is offline
hzqst
Senior Member
Join Date: Jul 2008
Old 12-21-2008 , 08:17   Re: Mod_NumForName: weapons/mortar.wav not found
Reply With Quote #4

liunx can go to the hell...

Last edited by hzqst; 12-21-2008 at 08:19.
hzqst is offline
Reply


Thread Tools
Display Modes

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 09:05.


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