AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Change setinfo _pw (https://forums.alliedmods.net/showthread.php?t=208098)

girotto000 02-10-2013 01:19

Change setinfo _pw
 
I want to know where can i change the command setinfo _pw pass for other thing like this:
setinfo _"clan" "password"
Thanks for who helps me :D

fysiks 02-10-2013 01:31

Re: Change setinfo _pw
 
You can change the "_pw" in amxx.cfg (changing this is always recommended).

Unkolix 02-10-2013 03:10

Re: Change setinfo _pw
 
Does this mean that I can have multiple passwords in my userconfig.cfg or autoexec.cfg? I just have to change f.e. "_pw" to "_new"?

girotto000 02-10-2013 11:29

Re: Change setinfo _pw
 
I think that i found it, im going to explain for other with the same doubt
In the archive amxx.cfg into configs folder, you have to find this:
Code:

// Default value: "_pw"
amx_password_field "_pw"

So then you change "_pw" for anything that you want
If you change it for "clan" for example, will look like this:
Code:

// Default value: "_pw"
amx_password_field "_clan"

And the administrator of the server will have to type:
setinfo "_clan" "password"
Am i right? Thanks for the help ;D

Unkolix 02-10-2013 13:11

Re: Change setinfo _pw
 
But is it possible to have multiple passwords like
Code:

// Default value: "_pw"
amx_password_field "_pw"
amx_password_field "_clan"


Torge 02-10-2013 13:12

Re: Change setinfo _pw
 
Quote:

Originally Posted by Unkolix (Post 1891752)
But is it possible to have multiple passwords like
Code:

// Default value: "_pw"
amx_password_field "_pw"
amx_password_field "_clan"


I think, this would always change your cvar value.

Unkolix 02-10-2013 13:15

Re: Change setinfo _pw
 
Or having 2 passwords in autoexec.cfg would execute them both when entering a server where you need to set your pass?
Code:

setinfo _pw asd
setinfo _pw 123


fysiks 02-10-2013 13:26

Re: Change setinfo _pw
 
The answer to all your questions is "No". You only need one password for a server.

s0s0 03-04-2013 16:37

Re: Change setinfo _pw
 
Quote:

Originally Posted by fysiks (Post 1891363)
You can change the "_pw" in amxx.cfg (changing this is always recommended).

You can change the "setinfo" by another name, I guess this is some plugins from the amxx

fysiks 03-05-2013 02:06

Re: Change setinfo _pw
 
Quote:

Originally Posted by s0s0 (Post 1906534)
You can change the "setinfo" by another name, I guess this is some plugins from the amxx

What? You comment doesn't make any sense.


All times are GMT -4. The time now is 20:30.

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