Skip to content

Commit 8ba27d4

Browse files
committed
Actually print the missing function name
1 parent 7f304dd commit 8ba27d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amx/server/syscalls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function syscall(amx, svc, prototype, ...) -- svc = service number (= index in
115115
local fnName = type(svc) == 'number' and amx.natives[svc] or svc
116116
local fn = prototype.fn or _G[fnName]
117117
if not fn and not prototype.client then
118-
outputDebugString('syscall: function ' .. tostring(fn) .. 'doesn\'t exist', 1)
118+
outputDebugString('syscall: function ' .. tostring(fn) .. ' (' .. fnName .. ') doesn\'t exist', 1)
119119
return
120120
end
121121

0 commit comments

Comments
 (0)