multitheftauto / amx

MTA AMX compatibility layer.
zlib License
31 stars 8 forks source link

New notify functions #40

Closed Disinterpreter closed 4 years ago

Disinterpreter commented 4 years ago

Fixes #31

I added functions: notImplemented(native, additional) and deprecated(native, version, additional)

for notifying scripters about dangerous functions with unexpected returns when they call them.

image

colistro123 commented 4 years ago

The deprecated is fine, there's this to check if functions aren't implemented though: https://github.com/multitheftauto/amx/blob/develop/amx/server/syscalls.lua#L118

Edit: Nevermind, I just re-read the stuff I understand now.