samp-weapon-config
samp-weapon-config copied to clipboard
number of arguments does not match definition
#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
I tried to reproduce it with y_va included and different statement combinations like under different compilers, samp or omp libraries, calling TextDrawCreate
from gamemode or not, etc. No warning is shown in any of those cases. Give your list of includes you use, their order in which you include them and the information which compiler/default libraries you use, ofc if you still get this warning on the latest YSI's y_va and weapon-config.