AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hud error (https://forums.alliedmods.net/showthread.php?t=140665)

DoviuX 10-15-2010 08:29

Hud error
 
Code:

L 10/15/2010 - 15:20:45: [AMXX] Run time error 4: index out of bounds
L 10/15/2010 - 15:20:45: [AMXX]    [0] umbrella_swarm.sma::Task_ShowHUD (line 4824)

Line 4824:
PHP Code:

        ShowSyncHudMsg(idg_hudsync "Health: %d || Survivor: %s"healthwarriornames[SurvivorClass[id]]) 


Vechta 10-15-2010 08:45

Re: Hud error
 
Check if player is alive

abdul-rehman 10-15-2010 10:51

Re: Hud error
 
Or connected atleast !

DoviuX 10-15-2010 12:38

Re: Hud error
 
Fixed it.

Another problem:

[IMG]http://img156.**************/img156/1457/63446029.jpg[/IMG]

Vechta 10-15-2010 12:40

Re: Hud error
 
It has to do with map not with plugin i think..

DoviuX 10-15-2010 12:45

Re: Hud error
 
I think it's from plugin. Can it be from sounds ? Becouse my mod has many sound files.

Or models?

All models precached like this:
PHP Code:

    engfunc(EngFunc_PrecacheModelCOACH_MODEL)
    
engfunc(EngFunc_PrecacheModelNICK_MODEL)
    
engfunc(EngFunc_PrecacheModelELLIS_MODEL)
    
engfunc(EngFunc_PrecacheModelROCHELLE_MODEL


I precached like this models with modelT.mdl:
PHP Code:

    precache_model("models/player/USAsoldier/USAsoldierT.mdl")
    
precache_model("models/player/Coach/CoachT.mdl")
    
precache_model("models/player/Nick/NickT.mdl"


lucas_7_94 10-15-2010 13:10

Re: Hud error
 
The Error says all 'reduce the model to brush models' , btw , you have more models precached and the limit is 512.

DoviuX 10-15-2010 13:28

Re: Hud error
 
I have precached 33 models in my plugin

nikhilgupta345 10-15-2010 18:12

Re: Hud error
 
Well I don't think it includes ONLY your plugin, it means with ALL of the plugins you have installed, the max amount of precached is 512 allowed. So you have more than 512, so take some out :P

DoviuX 10-16-2010 13:46

Re: Hud error
 
I use only one plugin it's my modification all precache are needed. What can I do ?


All times are GMT -4. The time now is 10:17.

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