[Help] How to name map? [Imp]
#1

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!
Reply
#2

In to the OnGameModeInit()

pawn Код:
SendRconCommand("mapname San Andreas");
Reply
#3

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.
Reply
#4

Hi u can't make it in server.cfg it SendRconCommand thing!
Reply
#5

Thx It worked on GameModeInit
Reply
#6

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.
Reply
#7

Oh okay but I said u cant paste SendRconCommand("mapname mapnamehere"); in server.cfg
Reply
#8

You can actually place it in server.cfg, it'll work.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)