Raised This Month: $ Target: $400
 0% 

Retrive a last numbers after ':' from SteamID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-08-2013 , 19:58   Re: Retrive a last numbers after ':' from SteamID
Reply With Quote #3

This ?

PHP Code:
{
    new 
szAuthid[32];
    
get_user_authid(idszAuthidcharsmax(szAuthid));
    
szAuthid[9] = EOS;
    
server_print("Left:%s , Right:%s"szAuthidszAuthid[10]);


You always have weird question. You would have better to tell what you want to do with the steamid.
I remember having trouvle with ':' and replace simply with '_' like this :

szAuthid[7] = szAuthid[9] = '_';

And to reverse, so simple :

szAuthid[7] = szAuthid[9] = ':';
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 10:51.


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