Raised This Month: $ Target: $400
 0% 

hudmessage display


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 04-21-2013 , 16:37   Re: hudmessage display
Reply With Quote #5

Quote:
Originally Posted by Leon M. View Post
use a switch ;)
PHP Code:
public specdaytxtprad()
{
    new 
desc32 ]
    switch(
g_SpecDay){
        case 
1copy(desc31"Text 1")
        case 
2copy(desc31"Text 2")
        case 
3copy(desc31"Text 3")
        case 
4copy(desc31"Text 4")
    }
    
set_hudmessage(421280, -1.00.1106.03.0)
    
ShowSyncHudMsg(0g_HudSync"%s"desc)

use 'charsmax' instead of 31

PHP Code:
case 1copy(desccharsmax(desc), "Text 1"

Last edited by EpicMonkey; 04-21-2013 at 16:39.
EpicMonkey 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