Raised This Month: $ Target: $400
 0% 

hudmessage display


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GhostMan
Senior Member
Join Date: Jun 2012
Old 04-20-2013 , 17:05   hudmessage display
Reply With Quote #1

PHP Code:
public specdaytxtprad()
{
    if(
g_SpecDay == 1)
    {
        
set_hudmessage(421280, -1.00.1106.03.0)
        
ShowSyncHudMsg(0g_HudSync"Text1")
    }
    else if(
g_SpecDay == 2)
    {
        
set_hudmessage(421280, -1.00.1106.03.0)
        
ShowSyncHudMsg(0g_HudSync"Text2")
    }
    else if(
g_SpecDay == 3)
    {
        
set_hudmessage(421280, -1.00.1106.03.0)
        
ShowSyncHudMsg(0g_HudSync"Text3")
    }
    else if(
g_SpecDay == 4)
    {
        
set_hudmessage(421280, -1.00.1106.03.0)
        
ShowSyncHudMsg(0g_HudSync"Text4")
    }

I run specdaytxtprad() with a task
PHP Code:
set_task(3.0"specdaytxtprad"TASK_SPECD__"b"
Depending which value g_SpecDay has it shows HUD message in same spot of the screen. Is it possible to use set_hudmessage once instead of using it every time before ShowSyncHudMsg?
GhostMan is offline
 



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:47.


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