• How to translate full server on a server
    9 replies, posted
Hello, Can you donate "Where is the position of the file which i can edit " for translate Server is full on ftp. Thanks guys I am french sorry for my english I can learn a better english for speak good and you understand me.
Do you mean something like when are you joining to server and kicks you?
[QUOTE=babouche35;51014635]I am french sorry for my english[/QUOTE] this is not an excuse in 2016
Okey sorry [editline]7th September 2016[/editline] I would like to translate the message when you are joining a server when is full [editline]7th September 2016[/editline] I would like to translate the message when you are joining a server when is full [editline]7th September 2016[/editline] No when you are joining 64/64 and we can see Server is full you see when i am saying?
I'm not sure if that's possible, might be hardcoded
Okey i see a french server did that ;D It's possible :p
[url=https://github.com/garrynewman/garrysmod/blob/451b4ff5d1aea7b9b06a8024ef706c248a79647e/garrysmod/resource/gameui_english.txt#L871]it's done clientside and depends on your steam language[/url], but i guess one could hack around it with [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/CheckPassword]GM:CheckPassword[/url] maybe [editline]8th September 2016[/editline] [lua]local connected = {} gameevent.Listen( "player_connect" ) hook.Add( "player_connect", "player_log_connect", function( data ) connected[ data.networkid ] = true; end ) gameevent.Listen( "player_disconnect" ) hook.Add( "player_disconnect", "player_log_disconnect", function( data ) connected[ data.networkid ] = nil end ) hook.Add("CheckPassword", "serverfullmsg", function(steamid) if table.Count(connected) >= game.MaxPlayers() then return false, "benis benis the server is full" end end)[/lua] untested
Thanks Un grand Merci pour les francais qui voit ca ;D Je t'aime poto :)
[QUOTE=babouche35;51019841]Thanks Un grand Merci pour les francais qui voit ca ;D Je t'aime poto :)[/QUOTE] Baguette to you too
[QUOTE=babouche35;51016787]Okey sorry [editline]7th September 2016[/editline] I would like to translate the message when you are joining a server when is full [editline]7th September 2016[/editline] I would like to translate the message when you are joining a server when is full [editline]7th September 2016[/editline] No when you are joining 64/64 and we can see Server is full you see when i am saying?[/QUOTE] Nah I can't really see "when" you are saying. Was it yesterday? Shit maybe it's tomrrow.
Sorry, you need to Log In to post a reply to this thread.