warning 202: number of arguments does not match definition - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warning 202: number of arguments does not match definition (
/showthread.php?tid=630756)
warning 202: number of arguments does not match definition -
maaz - 18.03.2017
i get these warnings -
Код:
C:\coc\folder\server 0.3.7\gamemodes\blank.pwn(2765) : warning 202: number of arguments does not match definition
C:\coc\folder\server 0.3.7\gamemodes\blank.pwn(13273) : warning 202: number of arguments does not match definition
C:\coc\folder\server 0.3.7\gamemodes\blank.pwn(13300) : warning 202: number of arguments does not match definition
here are the lines
2765 -
Код:
Objects_[0][i] = CreateDynamicObject( 1649, gCoords[i][0], gCoords[i][1], gCoords[i][2], -90.000000, 0.000000, 0.000000, -1, -1, -1, 150.0, 150.0 );
13273 -
Код:
hInfo[houseid][hMapIcon] = CreateDynamicMapIcon(hInfo[houseid][hPickupP][0], hInfo[houseid][hPickupP][1], hInfo[houseid][hPickupP][2], SALE_ICON, -1, 0, 0, -1, STREAM_DISTANCES, MAPICON_LOCAL);
13300 -
Код:
hInfo[houseid][hMapIcon] = CreateDynamicMapIcon(hInfo[houseid][hPickupP][0], hInfo[houseid][hPickupP][1], hInfo[houseid][hPickupP][2], NOTSALE_ICON, -1, 0, 0, -1, STREAM_DISTANCES, MAPICON_LOCAL);
How'd i fix this? I just updated 0.3z to 0.3.7 and this error came up from nowhere. +rep for helper
Re: warning 202: number of arguments does not match definition -
iKarim - 18.03.2017
Have you updated the includes? Streamer include & plugin to be more specific.
Re: warning 202: number of arguments does not match definition -
maaz - 18.03.2017
Ah, My bad. It was the include. Updated the include and everything works fine now.