Raised This Month: $ Target: $400
 0% 

[REQ]new get_user_name format


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-18-2008 , 15:20   Re: [REQ]new get_user_name format
Reply With Quote #6

IMPORTANT NOTE!!
If you are returning strings, the receiving string MUST be the SAME SIZE as the string being returned:
Code:
stock get_user_name2(client) {     static name[32];     get_user_name(client, name, sizeof(name) - 1);     return name; } function(client) {     // valid     new name[32] = get_user_name2(client);         // invalid     new name[64] = get_user_name2(client); }
__________________
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 09:17.


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