SA-MP Forums Archive
How to edit the map text in the SA-MP window - 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: How to edit the map text in the SA-MP window (/showthread.php?tid=258603)



How to edit the map text in the SA-MP window - iiLiamii - 31.05.2011

Hi There.

I need to edit my map name in the SA-MP window.
Do I have to #define it?

Hope someone can help thanks.


Re: How to edit the map text in the SA-MP window - Raimis_R - 31.05.2011

Add in OnGameModeInit callback:

SendRconCommand("mapname NAME");

ir in server.cfg:

mapname Name


Re: How to edit the map text in the SA-MP window - Cenation - 31.05.2011

open server.cfg
add there in bottom mapname yourmapname

InScript
OnGameModeInIt
SendRconCommand("mapname NAME");


Re: How to edit the map text in the SA-MP window - iiLiamii - 31.05.2011

Thanks Guys!