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_timers] const correct warning for no reason #613

Open
ravesamp opened this issue Sep 11, 2022 · 1 comment
Open

[y_timers] const correct warning for no reason #613

ravesamp opened this issue Sep 11, 2022 · 1 comment

Comments

@ravesamp
Copy link

I'm getting this warning even if I modify the string inside the timer: warning 214: possibly a "const" array argument was intended: "message"

timer UpdatePagerTD[500](playerid, string:message[])
{
    UpdatePagerTimer[playerid] = Timer:0;

    strdel(message, 0, 1);
    Pager_ShowMessage(playerid, message);
}
@Y-Less
Copy link
Member

Y-Less commented Apr 24, 2024

I can't reproduce this. Is it still happening?

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

2 participants