Get setinfo
Greeting, I've got a question, why not put setinfo directly but only through a cvar?
Why this method is not good? Code:
get_user_info(id, "setinfo ^"_pw^"", passfield, 31) or get_user_info(id, "setinfo _pw", password, 31)Code:
get_pcvar_string(cvarpassfield, passfield, 31) |
Re: Get setinfo
Nothing in your post is correct. What are you trying to do?
|
Re: Get setinfo
I want to take the password for that player and I really need a key.
Code:
usage: setinfo [ <key> <value> ]Code:
get_user_info(id, "setinfo ^"_pw^"", passfield, 31) or get_user_info(id, "setinfo _pw", password, 31)Code:
get_pcvar_string(cvarpassfield, passfield, 31) |
Re: Get setinfo
Yeah, that isn't how either of those commands work
|
Re: Get setinfo
It seems you need to take more time to study the code in admin.sma (where you copied some of this stuff) to see what is actually going on there. Once you figure out exactly what is going on then you should be able to figure it out (assuming I have any clue what in the world you are trying to do).
|
Re: Get setinfo
I can not breathe in admin.sma because it has all the key cvar. I wish I could draw from somewhere, to understand how a cvar setinfo without the key.
|
Re: Get setinfo
Simply, what do you even want to do? I don't understand a bit in this thread.
|
Re: Get setinfo
I want to do is an authentication system for vip. All I want to say here is that I no longer include cvar for key.
Normal looks like this: Code:
cvarpassfield=register_cvar("amx_vip_password", "_vip")Code:
get_user_info(id, "_vip", passfield, 31) |
Re: Get setinfo
Quote:
|
| All times are GMT -4. The time now is 08:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.