SA-MP Forums Archive
[HELP] How to change the Map name? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] How to change the Map name? (/showthread.php?tid=133305)



[HELP] How to change the Map name? - Smiths - 11.03.2010

How do i change the map name? Its say San Andreas... but i don't know how to change it.....




Re: [HELP] How to change the Map name? - Correlli - 11.03.2010

You can find a line named mapname in your server.cfg file, you can set the map name there.

Or with this function in the script:
pawn Код:
SendRconCommand("mapname _YOUR_MAP_NAME_");
You can even change it in-game. Login to the RCON by using /rcon login [password] and then you can use /rcon mapname [name] or you can type mapname [name] in your server-console.


Re: [HELP] How to change the Map name? - Nightdarkness - 03.11.2010

Yes, in your server.cfg file

Do: mapname <your desired map name here>


Re: [HELP] How to change the Map name? - Cenation - 09.01.2011

SendRconCommand("mapname _YOUR_MAP_NAME_");
please tell where to add this line?


Re: [HELP] How to change the Map name? - Infamous - 09.01.2011

Add it to the bottom of your server.cfg.


Re: [HELP] How to change the Map name? - Cenation - 09.01.2011

Updated! please see again


Re: [HELP] How to change the Map name? - Infamous - 09.01.2011

Right if you want to use the rcon command I would reccomend settting it OnGameModeInit.


Re: [HELP] How to change the Map name? - Cenation - 09.01.2011

ok...


Re: [HELP] How to change the Map name? - Robert West - 24.07.2012

i was looking for this from long time
thnx