 |
|
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
|

06-27-2012
, 18:43
Re: get_user_userid help
|
#6
|
Quote:
Originally Posted by Aooka
I do not understand what you are doing ^^
Why do you include amxmisc ? Because it's was here when you opened AmxStudioX ? lol
Code:
#include < amxmodx > public plugin_init( ) { register_plugin( "AMXX Authid" , "1.0" , "Aooka" ); register_clcmd( "say /uid" , "ClientCommand_Userid" ); register_clcmd( "say_team /uid" , "ClientCommand_Userid" ); } public ClientCommand_Userid( const id ) { if( !is_user_connected( id ) ) &nb sp;return 1; &nb sp; else { &nb sp;new szAuthID[ 32 ]; &nb sp;get_user_authid( id , szAuthID , 31 ); &nb sp; &nb sp;client_print( id , print_chat , "Your steam ID is -> %s" , szAuthID ); } return 0; }
Read this and if you don't understand tel me.
|
He wants to show userid, is not the same as steamid.
__________________
|
|
|
|