Raised This Month: $ Target: $400
 0% 

get_user_userid help


Post New Thread Reply   
 
Thread Tools Display Modes
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 06-27-2012 , 21:04   Re: get_user_userid help
Reply With Quote #11

Quote:
Originally Posted by Liverwiz View Post
in that case he should use just id, rather than calling get_user_userid(id) if i understand correctly....they'll be the same. Why that's in there, i don't know.
When you put 'vote' on console. That numbers are userid's.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 06-27-2012 , 21:48   Re: get_user_userid help
Reply With Quote #12

Quote:
Originally Posted by Neeeeeeeeeel.- View Post
When you put 'vote' on console. That numbers are userid's.
OH! That explains why those numbers are greater than 32, usually.
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 06-27-2012 at 21:48.
Liverwiz is offline
DJHD!
Veteran Member
Join Date: Dec 2009
Location: Santiago, Chile
Old 06-28-2012 , 01:58   Re: get_user_userid help
Reply With Quote #13

Quote:
Originally Posted by Aooka View Post
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 ) )         return 1;             else     {         new szAuthID[ 32 ];         get_user_authid( id , szAuthID , 31 );                 client_print( id , print_chat , "Your steam ID is -> %s" , szAuthID );     }     return 0; }

Read this and if you don't understand tel me.
¿Why a user that is not connected would write that?
__________________
Quote:
Originally Posted by XINLEI View Post
Porque rocccos trata de ser el metalicross que nunca va a poder ser.
DJHD! is offline
Send a message via MSN to DJHD!
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-28-2012 , 02:19   Re: get_user_userid help
Reply With Quote #14

You are right, this won't happen and this check is useless.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Aooka
Veteran Member
Join Date: Aug 2011
Location: Villeurbanne
Old 06-28-2012 , 02:23   Re: get_user_userid help
Reply With Quote #15

Yes, i do that for do a check ... you can remove it
__________________
Pawn ? Useless
Aooka 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 06:12.


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