Unknown gamemode.
#1

When I run my own script, It says the game mode is unknown but everything fine,
I got this in my server log.

[15:37:51] SUCCESS: Connected To MySQL!
[15:37:51] Connected to MySQL werd up.
Reply
#2

Show us the full server.log.
Reply
#3

If everything is fine IG (the script is loaded successfully)
Then add this to your OnGameModeInIt :
Код:
public OnGameModeInIt
{
    SendRconCommand("gamemode XXXXXX");  //Change the XXXXXX to your desired name
}
Reply
#4

Quote:
Originally Posted by R4nd4ll
Посмотреть сообщение
If everything is fine IG (the script is loaded successfully)
Then add this to your OnGameModeInIt :
Код:
public OnGameModeInIt
{
    SendRconCommand("gamemode XXXXXX");  //Change the XXXXXX to your desired name
}
That should be configured inside server.cfg in first instance.
Reply
#5

Quote:
Originally Posted by R4nd4ll
Посмотреть сообщение
If everything is fine IG (the script is loaded successfully)
Then add this to your OnGameModeInIt :
Код:
public OnGameModeInIt
{
    SendRconCommand("gamemode XXXXXX");  //Change the XXXXXX to your desired name
}
I think you're confused with:
PHP код:
SendRconCommand("hostname My SA-MP server");
SetGameModeText("SA-MP 1.0"); 
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)