Skip to content

Commit 9179cf8

Browse files
committed
Comment out use of exports.amxscoreboard
1 parent 45c971c commit 9179cf8

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

amx/server/amx.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ addEventHandler('onResourceStart', g_ResRoot,
4747
end
4848
end
4949

50-
exports.amxscoreboard:addScoreboardColumn('Score')
50+
-- TODO(q): this needs to be added back later
51+
-- exports.amxscoreboard:addScoreboardColumn('Score')
5152
end,
5253
false
5354
)
@@ -226,7 +227,8 @@ addEventHandler('onResourceStop', getRootElement(),
226227

227228
addEventHandler('onResourceStop', g_ResRoot,
228229
function()
229-
exports.amxscoreboard:removeScoreboardColumn('Score')
230+
-- TODO(q): this needs to be added back later
231+
-- exports.amxscoreboard:removeScoreboardColumn('Score')
230232
table.each(g_LoadedAMXs, unloadAMX, false)
231233
amxUnloadAllPlugins()
232234
for i=0,49 do

amx/server/syscalls.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2175,11 +2175,15 @@ function GetDistanceBetweenPoints3D(amx, x1, y1, z1, x2, y2, z2)
21752175
end
21762176

21772177
function AddScoreboardColumn(amx, column)
2178-
return exports.amxscoreboard:addScoreboardColumn('_' .. column)
2178+
outputDebugString("AddScoreboardColumn is being ignored!")
2179+
-- TODO(q): this needs to be added back later
2180+
-- return exports.amxscoreboard:addScoreboardColumn('_' .. column)
21792181
end
21802182

21812183
function RemoveScoreboardColumn(amx, column)
2182-
return exports.amxscoreboard:removeScoreboardColumn('_' .. column)
2184+
outputDebugString("RemoveScoreboardColumn is being ignored!")
2185+
-- TODO(q): this needs to be added back later
2186+
-- return exports.amxscoreboard:removeScoreboardColumn('_' .. column)
21832187
end
21842188

21852189
function SetScoreboardData(amx, player, column, data)

0 commit comments

Comments
 (0)