Thread: [Solved] Add XP/skill to players name
View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-17-2019 , 23:14   Re: Can't figure this out :)
Reply With Quote #11

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_infoid "name" szName ); 
__________________
Bugsy is offline