SendRconCommand 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SendRconCommand HELP (
/showthread.php?tid=144260)
SendRconCommand HELP -
DarkPower - 26.04.2010
How can i make when i script SendRconCommand("gmx"); to restart server just to single player i cant use SendRconCommand(playerid,"gmx");

WHO CAN HELP ME ?
Re: SendRconCommand HELP -
[MWR]Blood - 26.04.2010
Explain more please
Re: SendRconCommand HELP -
playbox12 - 26.04.2010
Quote:
|
Originally Posted by ikarus❶❸❸❼
Explain more please 
|
I gues he wants to restart the server for only one play, i thought that was impossible, just kick the player
Re: SendRconCommand HELP -
SiJ - 26.04.2010
Quote:
|
Originally Posted by [EFS
]
How can i make when i script SendRconCommand("gmx"); to restart server just to single player i cant use SendRconCommand(playerid,"gmx");  WHO CAN HELP ME ?
|
Not possible.. Gamemode is loaded by server so restarting the gamemode occurs to whole server..
Re: SendRconCommand HELP -
DarkPower - 26.04.2010
Quote:
|
Originally Posted by playbox12
Quote:
|
Originally Posted by ikarus❶❸❸❼
Explain more please 
|
I gues he wants to restart the server for only one play, i thought that was impossible, just kick the player
|
Yea....

then nothing...
Re: SendRconCommand HELP -
SmileyForCheat - 07.07.2011
Код:
SendRconCommand("unloadfs Vehicles", playerid);
Maybe Work XD
Re: SendRconCommand HELP -
Jack_Leslie - 07.07.2011
You can't reset the gamemode (gmx) for
one player, you can only do this to reset the game for EVERY player.
Код:
if(strcmp(cmd,"/gmx",true) == 0)
{
if(!IsPlayerAdmin)
{
SendClientMessage(playerid,color,"You are not an RCON Admin!");
return 1;
}
else if(IsPlayerAdmin)
{
SendRconCommand("gmx");
return 1;
}
}
To see a list of RCON commands, goto:
Change:
To the RCON command, and then change:
To the RCON command you want to happen, e.g: