SA-MP Forums Archive
errors - 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: errors (/showthread.php?tid=330841)



errors - JoeyDeBlob - 02.04.2012

got 2 errors D:

C:\Users\User\Desktop\test\gamemodes\myserver.pwn( 4890) : error 035: argument type mismatch (argument 2)
C:\Users\User\Desktop\test\gamemodes\myserver.pwn( 4901) : error 035: argument type mismatch (argument 2)


tell me which lines to give :3


Re: errors - TzAkS. - 02.04.2012

4890 and 4901


Re: errors - JoeyDeBlob - 02.04.2012

4890 - strmid(bugreports[newid][bugreport], bugreport, 0, strlen(bugreport), 128);
4901 - SendBugReportToQue(bugreportfrom, bugreport);


Re: errors - blank. - 02.04.2012

Is bugreport an array?


Re: errors - JoeyDeBlob - 02.04.2012

enum bugreportinfo
{
bughasbeenused,
bugreport[128],
bugreportfrom,
checkingbugreport,
bugbeingused,
bugtimetoexpire,
}


Re: errors - blank. - 02.04.2012

I meant the second variable.


Re: errors - JoeyDeBlob - 02.04.2012

what do you mean? O_O


Re: errors - blank. - 02.04.2012

strmid(bugreports[newid][bugreport], bugreport, 0, strlen(bugreport), 12;


Re: errors - JoeyDeBlob - 02.04.2012

yeah


Re: errors - blank. - 02.04.2012

Show me the function.