[Ajuda] Comando
#2

Esqueceu de fechar as chaves...

Код:
COMMAND:ts(playerid, params[])
{
    if (APlayerData[playerid][LoggedIn] == true)
    {
        if (APlayerData[playerid][PlayerLevel] >= 7)
        {
        	new HostCommand[128];
        	format(HostCommand, 128, "[Closed] NOME DO SERVER ");
        	SendRconCommand(HostCommand);
        	SendRconCommand("password chafik");
        	SendClientMessage(0xFF0000, "Server Trancado com Sucesso!");
        	return 1;
	}
    }
}
COMMAND:as(playerid, params[])
{
    if (APlayerData[playerid][LoggedIn] == true)
    {
        if (APlayerData[playerid][PlayerLevel] >= 7)
        {
        	new HostCommand[128];
        	format(HostCommand, 128, "NOME DO SERVER",);
        	SendRconCommand(HostCommand);
        	SendRconCommand("0");
        	SendClientMessage(0x00FF00, "Server Aberto com Sucesso!");
        	return 1;
	}
    }
}
Reply


Messages In This Thread
Comando - by GHLEMES - 09.05.2014, 18:52
Re: Comando - by DogeMan - 09.05.2014, 18:54
Re: Comando - by GHLEMES - 09.05.2014, 18:59
Re: Comando - by TheHiredKillers - 09.05.2014, 19:22
Re: Comando - by arakuta - 09.05.2014, 19:22
Re: Comando - by GHLEMES - 09.05.2014, 20:39
Re: Comando - by DiiMeNoR - 09.05.2014, 20:51
Re: Comando - by PT - 09.05.2014, 21:06
Re: Comando - by GHLEMES - 10.05.2014, 02:33

Forum Jump:


Users browsing this thread: 1 Guest(s)