Skip to content
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

y_unique doesn't work with stock #684

Open
Zorono opened this issue Aug 15, 2024 · 0 comments
Open

y_unique doesn't work with stock #684

Zorono opened this issue Aug 15, 2024 · 0 comments

Comments

@Zorono
Copy link

Zorono commented Aug 15, 2024

y_unique doesn't work with stock(function)
like

#define hook:%0(%1) \
            static stock UNIQUE_FUNCTION<zHF%0@...>() { \
                print("some code..."); \
            }

the function is not declared anyway (i checked the macros of the .amx many times and used funcidx)
please note that when i used public/forward instead of stock it worked perfectly
any idea please ???

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

No branches or pull requests

1 participant