[Help] How to name map? [Imp] - 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: [Help] How to name map? [Imp] (
/showthread.php?tid=159881)
[Help] How to name map? [Imp] - Guest3598475934857938411 - 14.07.2010
Hey I saw some servers with a custum map name not San Andreas how can I do this.
This is an example:
/imageshack/img121/7140/pastef.png
Please help!
Re: [Help] How to name map? [Imp] -
ikey07 - 14.07.2010
In to the OnGameModeInit()
pawn Код:
SendRconCommand("mapname San Andreas");
Re: [Help] How to name map? [Imp] -
Finn - 14.07.2010
There's RCON command called
mapname which can be used to change the map name. I am not sure if you can do it in server.cfg, might be possible in it too.
pawn Код:
SendRconCommand("mapname mapnamehere");
Edit: again too slow.
Re: [Help] How to name map? [Imp] - Guest3598475934857938411 - 14.07.2010
Hi u can't make it in server.cfg it SendRconCommand thing!
Re: [Help] How to name map? [Imp] - Guest3598475934857938411 - 14.07.2010
Thx It worked on GameModeInit
Re: [Help] How to name map? [Imp] -
Finn - 14.07.2010
Quote:
Originally Posted by expertprogrammer
Hi u can't make it in server.cfg it SendRconCommand thing!
|
k, you made me to go and check it out.
You're wrong, just add line "mapname shitfuck" into server.cfg and see the magic.
Re: [Help] How to name map? [Imp] - Guest3598475934857938411 - 15.07.2010
Oh okay but I said u cant paste SendRconCommand("mapname mapnamehere"); in server.cfg
Re: [Help] How to name map? [Imp] -
Hiddos - 15.07.2010
You can actually place it in server.cfg, it'll work.