Raised This Month: $ Target: $400
 0% 

get_user_name and null strings


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
rain
Senior Member
Join Date: Oct 2004
Location: Poland
Old 10-17-2004 , 15:35   get_user_name and null strings
Reply With Quote #1

How can I determine wheter get_user_name() provides me with a real valid player name or a (null) string? As a natural way I thought about the return value of this function, but in fact it returns the set_amxstring return value ;-) which is not what I want. I know this kind of checks is not *that* needed, but I like to write 100% reliable progs/scripts (ya, just my habit :-)). TIA for any replies.
__________________

Last edited by rain; 10-07-2007 at 10:09.
rain 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 17:16.


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