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



Problem - SeeNN - 06.03.2019

When I compile gm,give me some errors,I don't know why,but refers to on the "ShowPlayerDialog"

Код HTML:
ShowPlayerDialog(playerid, CMDS_D, DIALOG_STYLE_MSGBOX, "{FF0000}» {D1D1D1}Commands", ShowCmds(), "Close","Next");
Код HTML:
C:\Users\Cosmin\Desktop\ESW.pwn(9889) : error 035: argument type mismatch (argument 5)
C:\Users\Cosmin\Desktop\ESW.pwn(9896) : error 035: argument type mismatch (argument 5)
C:\Users\Cosmin\Desktop\ESW.pwn(9900) : error 035: argument type mismatch (argument 5)
C:\Users\Cosmin\Desktop\ESW.pwn(9907) : error 035: argument type mismatch (argument 5)
C:\Users\Cosmin\Desktop\ESW.pwn(27983) : error 035: argument type mismatch (argument 5)



Re: Problem - polygxn - 06.03.2019

Can you provide the other lines aswell? The problem is that you put a () after the ShowCmds Im pretty sure.


Re: Problem - MafiaOink - 06.03.2019

Show ShowCmds function.
Also remove ShowCmds() function just make a global string?

Show other lines aswell.