Skip to content

Various tweaks for omp-stdlib - #54

Merged
AmyrAhmady merged 8 commits into
openmultiplayer:masterfrom
NexiusTailer:master
Nov 22, 2025
Merged

AmyrAhmady merged 8 commits into
openmultiplayer:masterfrom
NexiusTailer:master

Conversation

@NexiusTailer

@NexiusTailer NexiusTailer commented Jun 7, 2025 •

Copy link
Copy Markdown
Contributor

Tweaks for OPEN_MP_TAGS

This is going to fix 2 possible mistakes:

  1. Having extra tag LANDING_GEAR_STATE among all other SA-MP tags, and looks like there's no reason for it to be there.
  2. Having 9 tags in a list of OPEN_MP_TAGS on the old compiler variant instead of 8 ones. Considering that it can have no more than 16 tags in such lists (8 tags in CUSTOM_TAG_TYPES + 8 tags listed in the #define OPEN_MP_TAGS)

Tweaks for return value tags

This is going to fix 3 cases where a bool: tag was added for natives which should return string length (integer value) instead of success/failure (true/false):

  1. GetWeaponName
  2. GetSVarNameAtIndex
  3. GetPVarNameAtIndex

Also related to open.mp #1098

@NexiusTailer

NexiusTailer commented Nov 3, 2025 •

Copy link
Copy Markdown
Contributor Author

Updated with omp-npc.inc fixes:

  1. Renamed parameter setangle to setAngle in NPC_PlayNode to be in line with other libs style
  2. Renamed point_index to pointIndex in NPC_GetPathPoint and NPC_RemovePointFromPath to be in line with other libs style
  3. Moved support for streamer functions into streamer.inc itself, see #496 in streamer's repo

@AmyrAhmady
AmyrAhmady merged commit 6fa585b into openmultiplayer:master Nov 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants