Skip to content

Deprecate str_buf_addr from PawnPlus.#558

Merged
AmyrAhmady merged 2 commits intomasterfrom
pawn-plus-pr
Dec 30, 2022
Merged

Deprecate str_buf_addr from PawnPlus.#558
AmyrAhmady merged 2 commits intomasterfrom
pawn-plus-pr

Conversation

@Y-Less
Copy link
Copy Markdown
Collaborator

@Y-Less Y-Less commented Dec 30, 2022

So it turns out that the problem is actually SA:MP being less consistent than us. In SA:MP you need an almost random assortment of AmxString: and AmxStringBuffer: depending on how the native accesses string data internally. In open.mp we use more "correct" methods, so only AmxString: is ever needed, and using AmxStringBuffer: will give the wrong result.

Apparently. Would be good to hear from more PP users.

@AmyrAhmady AmyrAhmady merged commit 8a46143 into master Dec 30, 2022
@AmyrAhmady AmyrAhmady deleted the pawn-plus-pr branch December 30, 2022 18:44
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