Skip to content

Return string length for some natives - #1098

Merged
AmyrAhmady merged 3 commits into
openmultiplayer:masterfrom
NexiusTailer:patch-1
Jul 18, 2025
Merged

AmyrAhmady merged 3 commits into
openmultiplayer:masterfrom
NexiusTailer:patch-1

Conversation

@NexiusTailer

Copy link
Copy Markdown
Contributor

This fixes an issue #1079 by adding string length as return value instead of true/false for the following natives:

  • GetWeaponName
  • NetStats_GetIpPort
  • GetPVarNameAtIndex
  • GetSVarNameAtIndex

Also related to omp-stdlib #54

@AmyrAhmady
AmyrAhmady merged commit 88e31ac into openmultiplayer:master Jul 18, 2025
@NexiusTailer
NexiusTailer deleted the patch-1 branch July 18, 2025 21:06
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.

3 participants