[Ajuda] Problema,aqui no GMX,nгo encontro !
#1

Bom vim aqui pedir ajuda pois estou com um problema no code e nгo sei a onde....


Код:
public Timer_Restart_Reboot()
{
	new HostCommand[128];
	SendRconCommand("gmx");
	format(HostCommand, 128, "hostname %s", GameModeName);
	SendRconCommand(HostCommand);
	SendRconCommand("password 0");
	return true;
}
ERROS

Код:
\PPC_PlayerCommands.inc(5118) : error 037: invalid string (possibly non-terminated string)
\PPC_PlayerCommands.inc(5118) : error 017: undefined symbol "Brasil"
\PPC_PlayerCommands.inc(5118) : error 017: undefined symbol "Auto"
\PPC_PlayerCommands.inc(5118) : fatal error 107: too many error messages on one line
Reply
#2

vc n definiu nenhuma dessas variavel me manda a linha do erro q contem >> Brasil ou Auto
Reply
#3

Код:
}
public Timer_Restart_WarnPlayers()
{
	SendClientMessageToAll(0xFFBB45FF, "» {00FF00}-Aviso Administraзгo- {CCCCCC}\"O Servidor {FFFFFF}Auto Trucker{CCCCCC} serб reiniciado em 1 minuto!\"");
	GameTextForAll("~g~SAIA ~w~DO SERVIDOR POR ~r~SEGURANCA", 5000, 3);
	SetTimer("Timer_Restart_Kick", 1000 * 60, false);
	SendRconCommand("hostname AutoTrucker  - Restarting...");
	SendRconCommand("password ilovexoxota");
	return true;
}
Reply
#4

quero ver uma linha q tenha Brasil ou Auto dai posso te dizer algo
Reply
#5

manda a definiзгo GameModeName
Reply
#6

Sei lб encontrei vбrios...
Код:
main()
{
	print("\n----------------------------------");
	print(GameModeName);
	print("(AMC)\n");
	print("----------------------------------\n");
}
Код:
new HostCommand[128];
	format(HostCommand, 128, "hostname %s", GameModeName);
	SendRconCommand(HostCommand);
	SetGameModeText("Brasil Auto Trucker™™"); // Defina o modo do modo de jogo, que aparece na lista de servidores
Код:
#define GameModeName				"Brasil Auto Trucker™
Reply
#7

manda alguma linha q ta escrito brasil ou alto cara mds O_O й sу isso q precisa
Reply
#8

с entendi
Reply
#9

Olha fera, vai na include PPC_PlayerCommands depois que vc abrir a include de um CTRL+G e digita 5118 e posta a linha simples assim '-'
Reply
#10

Jб postei acima sу olhar.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)