Raised This Month: $ Target: $400
 0% 

Hud Message won't go away


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 07-19-2011 , 06:55   Hud Message won't go away
Reply With Quote #1

I did a show_hudmessage and for some wierd reason it doesn't go away, it stays there for the whole time, what may be the cause for this?
Diegorkable is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 07-19-2011 , 06:56   Re: Hud Message won't go away
Reply With Quote #2

check your set_hudmessage times. post the code.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 07-19-2011 , 06:59   Re: Hud Message won't go away
Reply With Quote #3

PHP Code:
public Started()
{
    if (
didstart == 0)
    {
        
set_task(0.1"writet")
    }
    
    
set_hudmessage(2552552550.060.6206.012.0)
    
show_hudmessage(0"1st HALF Started. Match is now live...")
    
    
set_task(0.1"writet")
    return 
PLUGIN_HANDLED

Diegorkable is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 07-19-2011 , 07:20   Re: Hud Message won't go away
Reply With Quote #4

look at this... http://www.amxmodx.org/funcwiki.php?...sage&go=search

What I think might be happening is that there is some recursion to "Started". Also, why do you have a 0.1 second delay to "writet"? I think you're going to need to post all of your code. I gotta go to bed, I'll check in the morning.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 07-19-2011 , 08:14   Re: Hud Message won't go away
Reply With Quote #5

Nvm, I know what happened, There was a recoursion like you said, fixed.
Diegorkable is offline
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 00:48.


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