i need new command - 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: i need new command (
/showthread.php?tid=595601)
i need new command -
MrAhmed - 05.12.2015
Hello guys, i need a command like /getrconpassword
to get the rcon password for me when i forget it because i am lazy to go host to get it xD
please guys any one help me i need this command /getrconpassword its very important for me please.
Thanks for helping me
Re: i need new command -
AbyssMorgan - 05.12.2015
PHP код:
CMD:getrconpassword(playerid){
if(!IsPlayerAdmin(playerid)) return 0;
new rconpass[32];
GetServerVarAsString("rcon_password", rconpass, sizeof(rconpass));
SendClientMessage(playerid,-1,rconpass);
return 1;
}
Re: i need new command -
MrAhmed - 05.12.2015
Thank you AbyssMorgan
you are the best.
Re: i need new command -
MrAhmed - 05.12.2015
and what about command like /hostpassword xD
i know that is maybe impossible but if its not so make it to me please to know the host password if i forget xD
Thanks again +rep
Re: i need new command -
Sinox - 05.12.2015
Why not just make a text file on your pc with these passwords? That will be better and secure
Re: i need new command -
MrAhmed - 05.12.2015
no i want this command /hostpassword it will be helpful please.
Thanks
Re: i need new command -
Sinox - 05.12.2015
PHP код:
CMD:hostpassword(playerid)
{
if(!IsPlayerAdmin(playerid)) return 0;
SendClientMessage(playerid, -1, "changeme"); //replace "changeme" with your host password
return 1;
}
Re: i need new command -
MrAhmed - 05.12.2015
thanks but i didn't mean that command, i mean other thing,
like /hostpassword it get the host pass from the host not from me i know it maybe impossible command but thanks.