error 035: argument type mismatch (argument 4) - 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: error 035: argument type mismatch (argument 4) (
/showthread.php?tid=665649)
error 035: argument type mismatch (argument 4) -
andrusyao - 12.04.2019
PHP Code:
stock SPD(playerid, dialogid, style, const caption[], const info[], const button1[], const button2[])
error 035: argument type mismatch (argument 4) plz help
Re: error 035: argument type mismatch (argument 4) -
SiaReyes - 12.04.2019
What are you trying to do?
pawn Code:
#define SPD ShowPlayerDialog
Will be much easier.
Re: error 035: argument type mismatch (argument 4) -
andrusyao - 12.04.2019
Quote:
Originally Posted by SiaReyes
What are you trying to do?
pawn Code:
#define SPD ShowPlayerDialog
Will be much easier.
|
error 021: symbol already defined: "ShowPlayerDialog"
error 010: invalid function or declaration
lines:
PHP Code:
stock SPD(playerid, dialogid, style, const caption[], const info[], const button1[], const button2[])
Re: error 035: argument type mismatch (argument 4) -
CONTROLA - 12.04.2019
Shouldn't you hook ShowPlayerDialog instead of doing that?
Re: error 035: argument type mismatch (argument 4) -
khRamin78 - 12.04.2019
do this
PHP Code:
#define SPD ShowPlayerDialog
then remove this code from your script
PHP Code:
stock SPD(playerid, dialogid, style, const caption[], const info[], const button1[], const button2[])