|
Veteran Member
Join Date: Feb 2011
Location: Brazil
|
03-13-2012
, 18:17
Re: Jailbreak Glow Menu v2.0
|
#7
|
Quote:
Originally Posted by Xvil
Add a dictionary Colored For Langs
Example of use:
PHP Code:
// in Plugin_init
register_dictionary_colored("JbGlowMenu.txt")
// Using Example
new Name[32]
get_user_name(id, Name, charsmax(Name))
client_print_color(id, DontChange, "%s", id, "GLOW_RED", Name)
In JbGlowMenu.txt
HTML Code:
[en]
GLOW_RED = %s Has chosen the Red Glow
[fr]
GLOW_RED = %s a choisit La lueur rouge
|
Code:
client_print_color(id, DontChange, "%L", Name, LANG_PLAYER, "GLOW_RED");
__________________
|
|
|
|