SendRconCommand HELP
#1

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 ?
Reply
#2

Explain more please
Reply
#3

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
Reply
#4

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..
Reply
#5

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...
Reply
#6

Код:
SendRconCommand("unloadfs Vehicles", playerid);
Maybe Work XD
Reply
#7

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:
Код:
/gmx
To the RCON command, and then change:
Код:
("gmx");
To the RCON command you want to happen, e.g:
Код:
("exit");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)