SA-MP Forums Archive
How to change the Server Mode.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: How to change the Server Mode.. (/showthread.php?tid=245499)



How to change the Server Mode.. - Cr4zyR0d - 31.03.2011

How to change the Server Mode:
Example:

Host name - players- Ping- mode - Map
|Server Roleplay| 0/30 | 104 | mode | Los Santos


Re: How to change the Server Mode.. - dud - 31.03.2011

public OnGameModeInit()

add this

SetGameModeText(" v1.0"); //this is for mode
SendRconCommand("mapname Los Santos"); //this is for map


Re: How to change the Server Mode.. - Drake Star - 11.07.2013

I did all that i also added thd #define Game_Mode_text but still it wont change


Re: How to change the Server Mode.. - Konstantinos - 11.07.2013

You can also change them through server.cfg

pawn Код:
hostname Server Roleplay
gamemodetext RP
mapname Los Santos



Re: How to change the Server Mode.. - Drake Star - 11.07.2013

Mine does not have the game mode text in the cfg should i add it?


Re: How to change the Server Mode.. - Konstantinos - 11.07.2013

Quote:
Originally Posted by Drake Star
Посмотреть сообщение
Mine does not have the game mode text in the cfg should i add it?
If you want! Use it either on the server.cfg or in your gamemode.