all weapon-config functions related to weapons have WEAPON tag where appropriate when open.mp is detected (callbacks are excluded as in open.mp includes - strange decision, but for the sake of consistency...)
British forms are used in natives because US forms are deprecated in open.mp includes, stupid design idea
the WC_AIM_SYNC code is excluded when open.mp includes are detected, because the problem it targets is already fixed internally, same for few fixes in WC_PLAYER_SYNC
hooks for new open.mp natives (Pawn.RakNet is required to fully hook AllowAdminTeleport)
fixed WC_DEBUG and GetRejectedHit which gave warnings about invalid number of parameters on open.mp
fixed warning about deprecated console variable in open.mp
cleaned up the textdraw creation code, as many of the properties were unnecessary
⚠️ WEAPON_UNKNOWN is defined as -1 in open.mp. weapon-config uses 55, so it is redefined - this may break scripts that rely on open.mp's default value.
Pixel perfect health bar
At least for widescreen resolutions. 4:3 resolutions are a little off, but still more accurate than the previous values.
The rest of the changes are fairly self-explanatory.
WEAPON
tag where appropriate when open.mp is detected(callbacks are excluded as in open.mp includes - strange decision, but for the sake of consistency...)WC_AIM_SYNC
code is excluded when open.mp includes are detected, because the problem it targets is already fixed internally, same for few fixes inWC_PLAYER_SYNC
AllowAdminTeleport
)WC_DEBUG
andGetRejectedHit
which gave warnings about invalid number of parameters on open.mp⚠️
WEAPON_UNKNOWN
is defined as-1
in open.mp. weapon-config uses55
, so it is redefined - this may break scripts that rely on open.mp's default value.The rest of the changes are fairly self-explanatory.