Raised This Month: $ Target: $400
 0% 

introduce hud msg with langfile


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
BackStats
Senior Member
Join Date: Oct 2008
Old 10-11-2010 , 17:13   Re: introduce hud msg with langfile
Reply With Quote #3

Quote:
Originally Posted by SaM.ThE.MaN View Post
PHP Code:
// lang
register_dictionary"match_misc.txt" )

// Task
set_task1.0"match_misc",_,_,_"b")

public 
match_misc()
{
set_hudmessage(red=200green=100blue=0Float:x=-1.0Float:y=0.35effects=0Float:fxtime=6.0Float:holdtime=12.0Float:fadeintime=0.1Float:fadeouttime=0.2,channel=4);
show_hudmessage(0"The %L have winner match"0"MATCH_TEAM_WINALL)

then it should look like this:
PHP Code:
show_hudmessage(0"MATCH_TEAM_WINALL) 
because it will get the message MATCH_TEAM_WINALL
BackStats 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:25.


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