SA-MP Forums Archive
Little Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Little Help (/showthread.php?tid=278928)



Little Help - TheArcher - 24.08.2011

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.


Re: Little Help - =WoR=Varth - 24.08.2011

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


Re: Little Help - =WoR=G4M3Ov3r - 24.08.2011

/rcon password passwordhere

https://sampwiki.blast.hk/wiki/Advanced_Server_Controls


Re: Little Help - TheArcher - 24.08.2011

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


Re: Little Help - =WoR=G4M3Ov3r - 24.08.2011

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