Raised This Month: $ Target: $400
 0% 

Show both Name and Steam ID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Rirre
Veteran Member
Join Date: Nov 2006
Old 01-17-2011 , 09:56   Show both Name and Steam ID
Reply With Quote #1

New to entity_get_string.
I would like to get the player steam id also and not just the name of him.
How can I get AuthID/Steam ID of him?
PHP Code:
            new Name[32];
           
entity_get_string(entEV_SZ_targetnameName31);    

            new 
AuthID[32];
            
entity_get_string(entEV_SZ_targetnameAuthID31);
        
            if(!
strcmp(Name"")) {
                
strcat(Name"Unknown"32);
            }

            if(!
strcmp(AuthID"")) {
                
strcat(AuthID"Unknown"32);
            } 
Rirre is offline
 


Thread Tools
Display Modes

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 02:03.


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