SA-MP Forums Archive
Rcon 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Rcon Command (/showthread.php?tid=95587)



Rcon Command - DowNlOaD_ - 04.09.2009

Код:
if(!strcmp(cmdtext, "/login", true)){
new string[256];
new rcon[256];
GetServerVarAsString("rcon_password", rcon, 256);
format(string, 256, "login %s", rcon);
SendRconCommand(string);
SendClientMessage(playerid,COLOR_WHITE,"SERVER: You are logged in as admin.");
return 1;
}
why this is not working ?


Re: Rcon Command - Butilka - 04.09.2009

For standart rcon commands any changes dont work.


Re: Rcon Command - DowNlOaD_ - 04.09.2009

why (

i hope that in samp 0.3 it will work