Dictionary
I try use a dictionary. I register_dictionary("name.txt")
Then I put name.txt file in data/lang and what i need to type int .sma file to he's print my text. My name.txt file PHP Code:
|
Re: Dictionary
You have to use %L while formating your text.
Example : - client_print( id, print_chat, "%L", id, "NAME_GRAVITY" ); - client_print( 0, print_chat, "%L", LANG_PLAYER, "NAME_GRAVITY" ); Use the player's index or if 0 ( for all players ), use LANG_PLAYER. |
Re: Dictionary
what's diffirence of this codes.
PHP Code:
But he's print me only orange text, I wanna colored text :) |
Re: Dictionary
There is a tutorial. Please search.
|
Re: Dictionary
I try to search this TUT, can't find it.
|
Re: Dictionary
Quote:
|
Re: Dictionary
I can't find it!
|
Re: Dictionary
Tip : Color chat
|
Re: Dictionary
1 Attachment(s)
ScreenShot, no tutorial...
http://forums.alliedmods.net/attachm...1&d=1281955485 |
Re: Dictionary
Quote:
|
| All times are GMT -4. The time now is 21:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.