AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help: how tu get client info? (https://forums.alliedmods.net/showthread.php?t=28455)

skyforever 05-15-2006 04:18

help: how tu get client info?
 
when the client input: messagemode password,
how to save the password into a string pwd?

VEN 05-15-2006 08:35

"Input" or "send"? Pawn string or "setinfo" string?

skyforever 05-15-2006 19:43

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

how to get the cilent'password ,and save the password in string?

VEN 05-16-2006 04:26

Hook say or say_team client command (register_clcmd), check if say text begins with "password" (contain, equal), retireve the password (parse, strbreak).

skyforever 05-16-2006 18:51

3q,very one.

I use the way to get it :

get_user_info(id,"password",pwd)

The cmd can get user's cfg string.

VEN 05-17-2006 02:06

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.


All times are GMT -4. The time now is 16:21.

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