Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
[geoip] addons/geoip/lua/geoip/hooks.lua:131: attempt to index local 'ply' (a boolean value)
1. fn - addons/geoip/lua/geoip/hooks.lua:131
2. unknown - lua/ulib/shared/hook.lua:109
Can you fix it?
[geoip_connection_messages_v2] addons/geoip_connection_messages_v2/lua/geoip/api.lua:388: attempt to index local 'ply' (a nil value)
1. Query - addons/geoip_connection_messages_v2/lua/geoip/api.lua:388
no more eurocucks joining to rdm and leave
timer.Simple( 5, function()
if ply:GetNWString( "CountryCode" ) != nil && ply:GetNWString( "CountryCode" ) != "COUNTRYCODEHERE" then ply:Ban( 0, false ) ply:Kick( "WRONG COUNTRY BOI" ) end
end )
end )
Should work, put that somewhere in lua/autorun/server, you'll need this addon installed though.
Players are not in the correct group, but instead is "Join/Connect", i think this is why it cause the problem.
[ERROR] lua/geoip/hooks.lua:75: attempt to index a nil value
1. fn - lua/geoip/hooks.lua:75
2. unknown - lua/ulib/shared/hook.lua:109
I may make it possible to create custom strings in the future, we'll see how much attention this addon gets.
Feel free to extract the addon and change the strings around, you can find them in lua/geoip/hooks.lua
Or atleast stood....