SA-MP Forums Archive
Deactivate "Language" tab - 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: Deactivate "Language" tab (/showthread.php?tid=573440)



Deactivate "Language" tab - Blackazur - 07.05.2015

Hello, i have roundmaps on my server but because of the Language tab they won't show the actual Map Name anymore, how to fix that?


Re: Deactivate "Language" tab - Sledgehammer - 07.05.2015

You can't do anything about this, however the map rule stills appears in the information box:




Re: Deactivate "Language" tab - DarkLouis - 07.05.2015

Instead of mapname, set language.

Ex: "mapname San Fierro" ---> "language San Fierro


AW: Deactivate "Language" tab - Blackazur - 07.05.2015

Well how can i set the "Language" to a specific name?


Re: Deactivate "Language" tab - Sledgehammer - 07.05.2015

Well.. It is exactly like the map rule. Instead of mapname, do language [language name] (with rcon ofc).

Also add "language [language name]" to your server.cfg if you'd wish to have the rule applied when the server loads up.


AW: Deactivate "Language" tab - Blackazur - 07.05.2015

I tried to do this, that the Map name is in the "Language" tab, but it won't work, i have this on OnGameModeInit. Who can help?

Код:
	new string[128];
    format(string, sizeof(string), "language %s", Map[MapName]);
	SendRconCommand(string);



Re: Deactivate "Language" tab - Sledgehammer - 07.05.2015

I've just checked https://sampwiki.blast.hk/wiki/Advanced_Server_Controls, and it appears such feature hasn't been documented. Not to sure if rcon admin/ commands can control the language rule.


Re: Deactivate "Language" tab - Puppy - 07.05.2015

Setting the mapname rule via RCON should set the language tab as it is THE SAME THING but has just been
renamed. I am not sure if it uses an internal ID, or if it uses the actual rule name but try just "mapname" for the RCON command.


Re: Deactivate "Language" tab - Threshold - 07.05.2015

No... Language is NOT mapname....
You can't change "Location" to "Map name". Just deal with it.


Re: Deactivate "Language" tab - Puppy - 07.05.2015

You can add / edit / delete rules using YSF.