 |
|
Senior Member
|

10-11-2010
, 17:13
Re: introduce hud msg with langfile
|
#3
|
Quote:
Originally Posted by SaM.ThE.MaN
PHP Code:
// lang
register_dictionary( "match_misc.txt" )
// Task
set_task( 1.0, "match_misc",_,_,_, "b")
public match_misc()
{
set_hudmessage(red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float: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
|
|
|
|