Quote:
Originally Posted by Obada
Btw if I want the name of the player to be printed, it should be like that?
PHP Code:
client_print(0, print_chat, "%L", LANG_PLAYER, "RES_ACCEPTED_G1", name)
I should add "name", right?
|
-->
Code:
client_print(0, print_chat, "%L %s", LANG_PLAYER, "RES_ACCEPTED_G1", GetUserName( id ))
Code:
stock GetUserName( const index )
{
static szName[ 32 ];
get_user_name( index, szName, charsmax( szName ) );
return szName;
}