11.07.2015, 04:37
New Update - 0.1.9
After looking into GDK more I have decided to implement it for various reasons. Mainly because it allows us to not need the samp.js filterscript and can also hook any public function easily with the new JavaScript function RegisterPublic("OnPlayerConnect", "i", "PlayerConnect", ["playerid"]);. This isn't limited to just samp native publics either. The speed differences in benchmarks with using GDK and without are basically the same though.
Will be putting up a linux build later. Let me know of any issues/bugs you have.
Changelog
samp.js v0.1.9
After looking into GDK more I have decided to implement it for various reasons. Mainly because it allows us to not need the samp.js filterscript and can also hook any public function easily with the new JavaScript function RegisterPublic("OnPlayerConnect", "i", "PlayerConnect", ["playerid"]);. This isn't limited to just samp native publics either. The speed differences in benchmarks with using GDK and without are basically the same though.
Will be putting up a linux build later. Let me know of any issues/bugs you have.
Changelog
Код:
- Added GDK to call native functions and hook publics - samp.js filterscript is no longer needed - Added RegisterPublic to register public function callbacks to the $server.on events - Added CallNativeGDK for calling native functions via GDK - Various bug fixes