View Single Post
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 03-13-2012 , 18:17   Re: Jailbreak Glow Menu v2.0
Reply With Quote #7

Quote:
Originally Posted by Xvil View Post
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(idNamecharsmax(Name))
client_print_color(idDontChange"%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");
__________________
kramesa is offline