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_CreateNamedEntity, engfunc(EngFunc_AllocString, "func_mortar_field"))
Thanks in advance!