SA-MP Forums Archive
map - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: map (/showthread.php?tid=110720)



map - PANNA - 28.11.2009

how can i change the "map" wich you see at the end of your server:

servername - 5000/10000000 - 41 - blah blah - sanandreas

how can i change sanandreas?


Re: map - Correlli - 28.11.2009

In your server.cfg file:
Код:
mapname Liberty City
just an example.


Re: map - diesulke - 28.11.2009

That's right.

And if you want to change the Mode goto Public OnGameModeInit()
And replace
Код:
SetGameModeText("San Andreas");
to
Код:
SetGameModeText("Gamemode name");



Re: map - Correlli - 28.11.2009

Quote:
Originally Posted by diesulke
Put this line on Public OnGameModeInit()

Код:
SetGameModeText("Map name");
That's the name for the gamemode, not the map.


Re: map - PANNA - 28.11.2009

thanks guys


Re: map - Streetplaya - 28.11.2009

via script.
pawn Код:
SendRconCommand("mapname My Mapname");



Re: map - diesulke - 28.11.2009

He already know how to do it


Re: map - Streetplaya - 28.11.2009

Quote:
Originally Posted by diesulke
He already know how to do it
I told him how to do it via script.