File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1313 <script src =" server/admin_server.lua" />
1414 <script src =" server/admin_sync.lua" />
1515 <script src =" server/admin_commands.lua" />
16+ <script src =" server/admin_ip2c.lua" />
1617 <script src =" server/admin_servermaps.lua" />
1718 <script src =" server/admin_ACL.lua" />
1819 <script src =" server/admin_settings.lua" />
4445 <script src =" client/gui/admin_settings.lua" type =" client" />
4546 <script src =" client/gui/admin_screenshot.lua" type =" client" />
4647 <script src =" client/colorpicker/colorpicker.lua" type =" client" />
48+
49+ <!-- Exported Functions-->
50+ <export function =" getPlayerCountry" />
4751
4852 <!-- Required XML configs kept in /conf/ folder-->
4953 <config src =" conf/interiors.xml" type =" client" />
Original file line number Diff line number Diff line change 1+ --[[
2+ ip2c script has been moved to its own separate resource.
3+ This exported function remains for backwards compatibility, in case any custom resources rely on it.
4+ ]]
5+ function getPlayerCountry (player )
6+ outputDebugString (" exports.admin:getPlayerCountry(player) is deprecated. Get & use the new ip2c resource." , 2 )
7+ outputDebugString (" https://mirror-cdn.multitheftauto.com/mtasa/resources/mtasa-resources-latest.zip" , 2 )
8+ return false
9+ end
You can’t perform that action at this time.
0 commit comments