Skip to content

Commit 397f959

Browse files
authored
Merge pull request #53 from Disinterpreter/amx-fixinfofunctions
small patch for notifies (unimplemented notifies)
2 parents b306d85 + b109de7 commit 397f959

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

amx/server/defines.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,10 @@ INVALID_ACTOR_ID = 0xFFFF
203203
INVALID_OBJECT_ID = 0xFFFF
204204

205205
ManualVehEngineAndLights = false
206-
ShowUnimplementedErrors = false
206+
ShowUnimplementedErrors = false
207+
208+
-- Just add <setting name="amx.debug" value="true"></setting> in settings.xml
209+
-- if you want to see debug infromation
210+
if get('amx.debug') == 'true' then
211+
ShowUnimplementedErrors = true
212+
end

0 commit comments

Comments
 (0)