Raised This Month: $ Target: $400
 0% 

help: how tu get client info?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
skyforever
Junior Member
Join Date: Aug 2004
Location: china
Old 05-15-2006 , 04:18   help: how tu get client info?
Reply With Quote #1

when the client input: messagemode password,
how to save the password into a string pwd?
__________________
skyforever is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-15-2006 , 08:35  
Reply With Quote #2

"Input" or "send"? Pawn string or "setinfo" string?
VEN is offline
skyforever
Junior Member
Join Date: Aug 2004
Location: china
Old 05-15-2006 , 19:43  
Reply With Quote #3

the player can send "messagemode password" by console,then input the password.

how to get the cilent'password ,and save the password in string?
__________________
skyforever is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-16-2006 , 04:26  
Reply With Quote #4

Hook say or say_team client command (register_clcmd), check if say text begins with "password" (contain, equal), retireve the password (parse, strbreak).
VEN is offline
skyforever
Junior Member
Join Date: Aug 2004
Location: china
Old 05-16-2006 , 18:51  
Reply With Quote #5

3q,very one.

I use the way to get it :

get_user_info(id,"password",pwd)

The cmd can get user's cfg string.
__________________
skyforever is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-17-2006 , 02:06  
Reply With Quote #6

Yes, but you didn't said that user has it in the setinfo field. So how can i know if you just said that he send password through messagemode.
VEN 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 16:21.


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