• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] argument type mismatch (argument 4)
#1
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.
  Reply
#2
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!
  Reply
#3
https://github.com/sampctl/samp-stdlib/b...p.inc#L257



They need to be const arrays.
  Reply


Forum Jump: