Skip to content

Various tweaks for omp-stdlib #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

NexiusTailer
Copy link
Contributor

@NexiusTailer NexiusTailer commented Jun 7, 2025

New native alias GetActiveTimers

This adds another alias for CountRunningTimers, now they're two:

  1. GetRunningTimers from YSF
  2. GetActiveTimers from timerfix

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

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