[Server] argument type mismatch (argument 4) - Printable Version +- Burgershot (https://www.burgershot.gg) +-- Forum: SA-MP (https://www.burgershot.gg/forumdisplay.php?fid=3) +--- Forum: Support (https://www.burgershot.gg/forumdisplay.php?fid=12) +--- Thread: [Server] argument type mismatch (argument 4) (/showthread.php?tid=741) |
argument type mismatch (argument 4) - Polygon - 2019-08-04 So I'm using the community complier + stdlib + easyDialog, but for some reason I got an error at line 95... Code: ShowPlayerDialog(playerid, 32700, style, caption, string, button1, button2); ...in easyDialog.inc (argument type mismatch (argument 4)). easyDialog is const corrected, and stdlib aswell, what could be the problem? I tried with older version of the complier, also other version of stdlib but it just doesn't work. RE: argument type mismatch (argument 4) - Markski - 2019-08-21 It'd be useful to see how you defined all the variables you're sending there. Furthermore, the reason for the delayed reply is that the Support forum isn't for this - You want to use the Pawn Scripting category for this kind of questions. Cheers! RE: argument type mismatch (argument 4) - George - 2019-08-21 https://github.com/sampctl/samp-stdlib/blob/0.3.DL-R1/a_samp.inc#L257 They need to be const arrays. |