formatex returns the size of the string formatted, you don't really need this value for anything but it's common practice for string manipulating functions to return the length of the string..many natives in amx-x do this.
My function definitely works, but it only takes care of adding the skill to the name in a string. You must actually set it as the players name.
After calling SetSkillInName(), do this:
PHP Code:
set_user_info( id , "name" , szName );
__________________