[Pedido] Gamemode Info
#4

Da uma olhada aqui https://sampwiki.blast.hk/wiki/SendRconCommand e aqui https://sampwiki.blast.hk/wiki/Advanced_...#RCON_Commands

Para mudar nome/senha do servidor e imprimir:
pawn Код:
#define SERVER_NAME "Nome teste"
#define SERVER_PASSWORD "Senhateste" // Coloque 0 se nгo quiser senha no servidor

main()
{
    print("Server name: "SERVER_NAME);
    print("Server password: "SERVER_PASSWORD);
}

public OnGameModeInit()
{
    SendRconCommand("hostname "SERVER_NAME);
    SendRconCommand("password "SERVER_PASSWORD);
}
Reply


Messages In This Thread
Gamemode Info - by SoMbRa69 - 01.11.2013, 02:50
Re: Gamemode Info - by Schocc - 01.11.2013, 02:55
Re: Gamemode Info - by SoMbRa69 - 01.11.2013, 08:11
Re: Gamemode Info - by kreison - 01.11.2013, 09:19
Re: Gamemode Info - by bruxo00 - 01.11.2013, 14:06

Forum Jump:


Users browsing this thread: 1 Guest(s)