16.05.2010, 12:23
just /rcon login [password]
/rcon gmx
or using script:
if(!strcmp(cmdtext,"/restart",true,
{
if (!IsPlayerAdmin(playerid))
{
SendClientMessage(playerid, COLOR_RED, "You are not Administrator.");
return 1;
}
SendRconCommand("gmx");
}
/rcon gmx
or using script:
if(!strcmp(cmdtext,"/restart",true,
{
if (!IsPlayerAdmin(playerid))
{
SendClientMessage(playerid, COLOR_RED, "You are not Administrator.");
return 1;
}
SendRconCommand("gmx");
}