Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Support [Server] argument type mismatch (argument 4)

 
  • 0 Vote(s) - 0 Average
Server argument type mismatch (argument 4)
Polygon
Offline

Burgershot Member
Posts: 12
Threads: 3
Joined: Apr 2019
Reputation: 2
#1
2019-08-04, 05:42 PM (This post was last modified: 2019-08-04, 05:44 PM by Polygon.)
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.
Markski
Offline

Burgershot Clerk

Posts: 127
Threads: 6
Joined: Apr 2019
Reputation: 5
Location: La Plata, Argentina
#2
2019-08-21, 03:43 PM
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!
Website
George
Offline

Burgershot Member
Posts: 9
Threads: 2
Joined: May 2019
Reputation: 0
#3
2019-08-21, 06:17 PM
https://github.com/sampctl/samp-stdlib/blob/0.3.DL-R1/a_samp.inc#L257

They need to be const arrays.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode