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 13
13
<script src =" server/admin_server.lua" />
14
14
<script src =" server/admin_sync.lua" />
15
15
<script src =" server/admin_commands.lua" />
16
+ <script src =" server/admin_ip2c.lua" />
16
17
<script src =" server/admin_servermaps.lua" />
17
18
<script src =" server/admin_ACL.lua" />
18
19
<script src =" server/admin_settings.lua" />
44
45
<script src =" client/gui/admin_settings.lua" type =" client" />
45
46
<script src =" client/gui/admin_screenshot.lua" type =" client" />
46
47
<script src =" client/colorpicker/colorpicker.lua" type =" client" />
48
+
49
+ <!-- Exported Functions-->
50
+ <export function =" getPlayerCountry" />
47
51
48
52
<!-- Required XML configs kept in /conf/ folder-->
49
53
<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