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

number of arguments does not match definition #265

Open
pungpond78 opened this issue Jul 1, 2023 · 0 comments
Open

number of arguments does not match definition #265

pungpond78 opened this issue Jul 1, 2023 · 0 comments

Comments

@pungpond78
Copy link

pungpond78 commented Jul 1, 2023

#if defined _INC_y_va
#if defined _INC_open_mp
stock Text:WC_TextDrawCreate(Float:x, Float:y, const text[], OPEN_MP_TAGS:...)
#else
stock Text:WC_TextDrawCreate(Float:x, Float:y, WC_CONST text[], GLOBAL_TAG_TYPES:...)
#endif
#else
stock Text:WC_TextDrawCreate(Float:x, Float:y, WC_CONST text[])
#endif
{
	#if defined _INC_y_va
		new Text:td = TextDrawCreate(x, y, text, ___(3));
	#else
		new Text:td = TextDrawCreate(x, y, text);
	#endif

	if (td != Text:INVALID_TEXT_DRAW) {
		s_InternalTextDraw[td] = false;
	}

	return td;
}

new Text:td = TextDrawCreate(x, y, text, ___(3)); warning umber of arguments does not match definition

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