Raised This Month: $ Target: $400
 0% 

Solved Add XP/skill to players name


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode