AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Error when trying to precache sprite (https://forums.alliedmods.net/showthread.php?t=22589)

JPiolho 12-30-2005 17:44

Error when trying to precache sprite
 
For some reason when starting server it stops and on console it shows this error:
Host_Error: PF_precache_model_I: Bad string ''

On Script:
Code:
  public plugin_precache() {     precache_model("sprites/jp/rr_a.spr")         return PLUGIN_CONTINUE }
The sprite its there and it have that name. I've also tryed others but still same..

Anyone help?

[ --<-@ ] Black Rose 12-31-2005 11:24

Code:
new the_sprite plugin_precache(){    precache_model("sprites/jp/rr_a.spr") }

Sandurr 12-31-2005 11:50

Code:
new the_sprite public plugin_precache(){    the_sprite = precache_model("sprites/jp/rr_a.spr") }

VEN 01-01-2006 04:48

Technically this is the same things so it wouldn't help him.


All times are GMT -4. The time now is 16:07.

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