Little Help
#1

Hello i'm working on a FS but i've tested something that is strange.

Someone know how to remove the password of the server if it have one? Beacuse i tried to use a empty string infact it doesn't use password. Instead if i put something in the password string the server will lock.

My question is if i put a password in server.cfg then if i put the empty string in the FS it will show the password wrote in server.cfg.
Reply
#2

I don't get what you mean.
You want to remove your server password?
Reply
#3

/rcon password passwordhere

https://sampwiki.blast.hk/wiki/Advanced_Server_Controls
Reply
#4

Quote:
Originally Posted by G4M3Ov3r
View Post
I mean using SendRconCommand("password");

if the string is empty will show the password made in server.cfg or wherever you put the password.

If i put that code like this SendRconCommand("password hey"); the server will set the password to hey..

Edit: Solved thanks to G4M3Ov3r...

P.S If you want to put in your password from the GM just put SendRconCommand("password 0");, as G4M3Ov3r said /rcon password 0 the using of remote control is only procceced by SendRconCommand so if you put password 0 will disable it.

Thx guys
Reply
#5

Quote:
Originally Posted by Anthony_prince
View Post
I mean using SendRconCommand("password");

if the string is empty will show the password made in server.cfg or wherever you put the password.

If i put that code like this SendRconCommand("password hey"); the server will set the password to hey..

Edit: Solved thanks to G4M3Ov3r...

P.S If you want to put in your password from the GM just put SendRconCommand("password 0");, as G4M3Ov3r said /rcon password 0 the using of remote control is only procceced by SendRconCommand so if you put password 0 will disable it.

Thx guys
No Problem, Mate
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)