Skip to content

PawnPlus v1.4.3

Compare
Choose a tag to compare
@IS4Code IS4Code released this 29 Dec 16:40
· 118 commits to master since this release
  • Added str_capacity and str_reserve to control the internal string's buffer capacity.
  • str_addr, var_addr, and co. now have a second parameter specifying the particular behaviour of strings copied into the dynamic string via amx_SetString. For example, amx_buffer_string_auto_fit allows resizing the string to fit any number of characters inside. Note that not all SA-MP functions use amx_SetString, so this will only improve interop with those that do.
  • Added support for reading two special environment variables, PAWNPLUS_NO_AMX_HOOKS and PAWNPLUS_NO_FILE_HOOKS. This allows circumventing Zeex/samp-plugin-crashdetect#127 if the server is launched via PAWNPLUS_NO_FILE_HOOKS=1 ./samp03svr or
    export PAWNPLUS_NO_FILE_HOOKS=1
    ./samp03svr
  • Fixed pawn_try_call_native_msg and similar functions to correctly load their arguments.