Skip to content

Conversation

@NexiusTailer
Copy link
Contributor

@NexiusTailer NexiusTailer commented Jun 7, 2025

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
Copy link
Contributor Author

NexiusTailer commented Nov 3, 2025

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

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.

1 participant