Releases: Zeex/sampgdk
Releases · Zeex/sampgdk
GDK 3.6
- Added SAMPGDK_TIMER_CALL macro for timer callbacks (expands to SAMPGDK_CALL)
- Added several new functions for calling SA-MP and other plugins' natives dynamically:
- sampgdk_find_native(const char *name)
- sampgdk_call_native(AMX_NATIVE native, cell *params)
- sampgdk_invoke_native(AMX_NATIVE, const char *format, ...)
- Minor code and build system improvements
GDK 3.5
GDK 3.4.1
GDK 3.4
- Fixed timers not being fully destroyed when calling KillTimer()
- Fixed KillTimer() crash when killing a timer from within its callback function
- Fixed timer callbacks being passed a wrong timer ID
- Fixed sampgdk_cleanup() / sampgdk_cleanup_plugin() not performing the cleanup
- Added HTTP() function and OnHTTPResponse() callback
- Fixed amx_Allot() returning success even though there's clearly not enoguh
space on the heap - Fixed a couple of bugs in the fake AMX heap resizing code that caused prolems
passing large amounts of data to natives/callbacks - Added CallNative() function for calling arbitrary natives in a convenient way
- Added an option to build GDK as a static library (experimental)
GDK 3.3
- Fixed a bug that stopped certain callbacks defined in gamemodes and
filterscripts from being executed - Fixed a crash happening when a native function that is called is not found
- Changed return type of some of the core API functions (and corresponding Plugin
methods) to int so they now return an error code when fail and a non-negative
return value indicates success - Renamed some methods of the Player and Vehicles classes
- Added the FindSampGdk3 module to be used with CMake's find_pacakge() command
GDK 3.2.1
- Fixed functions returning a float giving wrong result
- Fixed the type of the mode parameter of ShowPlayerMarkers()
- Added two missing callbacks that were introduced in SA-MP 0.3e
bool OnPlayerClickTextDraw(int playerid, int clickedid); bool OnPlayerClickPlayerTextDraw(int playerid, int playertextid);
- Renamed the weaponslot parameter of SetPlayerAmmo() to weaponid