Raised This Month: $ Target: $400
 0% 

What is EOS ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 11-12-2014 , 08:23   What is EOS ?
Reply With Quote #1

I was looking at default amxmodx multilingual.sma, and i found this.

PHP Code:
    new buffer[3]
    
get_user_info(id"lang"buffercharsmax(buffer))
    
    if (
buffer[0] == EOS// if "lang" is not defined, by default it will use server language.
    
{
        
get_pcvar_string(g_cvarServerLanguagebuffercharsmax(buffer));
    } 
What is EOS ?
I suppose it's not only lang related.
Fr33m@n is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 11-12-2014 , 08:42   Re: What is EOS ?
Reply With Quote #2

EOS is same as 0, or '^0'. EOS = End Of String.
klippy is online now
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 11-12-2014 , 08:45   Re: What is EOS ?
Reply With Quote #3

AH, thanks

Last edited by Fr33m@n; 11-12-2014 at 08:46.
Fr33m@n is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-12-2014 , 08:44   Re: What is EOS ?
Reply With Quote #4

^ and this is defined by the compiler (I know some people were asking that).
__________________
Arkshine is offline
Reply



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:34.


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