Raised This Month: $ Target: $400
 0% 

Hud error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 10-15-2010 , 08:29   Hud error
Reply With Quote #1

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]]) 
DoviuX is offline
Send a message via Skype™ to DoviuX
Vechta
Veteran Member
Join Date: Jun 2010
Old 10-15-2010 , 08:45   Re: Hud error
Reply With Quote #2

Check if player is alive
Vechta is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 10-15-2010 , 10:51   Re: Hud error
Reply With Quote #3

Or connected atleast !
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 10-15-2010 , 12:38   Re: Hud error
Reply With Quote #4

Fixed it.

Another problem:

[IMG]http://img156.**************/img156/1457/63446029.jpg[/IMG]
DoviuX is offline
Send a message via Skype™ to DoviuX
Vechta
Veteran Member
Join Date: Jun 2010
Old 10-15-2010 , 12:40   Re: Hud error
Reply With Quote #5

It has to do with map not with plugin i think..
Vechta is offline
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 10-15-2010 , 12:45   Re: Hud error
Reply With Quote #6

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"

Last edited by DoviuX; 10-15-2010 at 12:48.
DoviuX is offline
Send a message via Skype™ to DoviuX
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 10-15-2010 , 13:10   Re: Hud error
Reply With Quote #7

The Error says all 'reduce the model to brush models' , btw , you have more models precached and the limit is 512.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 10-15-2010 , 13:28   Re: Hud error
Reply With Quote #8

I have precached 33 models in my plugin
DoviuX is offline
Send a message via Skype™ to DoviuX
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 10-15-2010 , 18:12   Re: Hud error
Reply With Quote #9

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
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 10-16-2010 , 13:46   Re: Hud error
Reply With Quote #10

I use only one plugin it's my modification all precache are needed. What can I do ?
DoviuX is offline
Send a message via Skype™ to DoviuX
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 10:17.


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