Raised This Month: $ Target: $400
 0% 

forward for name changes


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 09-04-2008 , 11:19   Re: forward for name changes
Reply With Quote #4

@v3x

Code:
new new_name[32], old_name[32]; get_user_info(index, "name", new_name, sizeof(new_name) - 1); get_user_name(index, old_name, sizeof(oldname) - 1);

The forward is called before the player's name is changed, so the player's current name is still the same.
However, the player has entered the name into their info (name "Exolent") but it hasn't changed their name, yet.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 03:18.


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