error 035: argument type mismatch (argument 3) - 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 3) (
/showthread.php?tid=369467)
error 035: argument type mismatch (argument 3) -
Ben_Hatfield - 17.08.2012
i have these lines in my script
Code:
PlayerInfo[extraid][pCarTicket] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username", "CarTicket");
PlayerInfo[extraid][pTut] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username", "Tutorial");
PlayerInfo[extraid][pSex] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username", "Sex");
PlayerInfo[extraid][pChanges] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username", "Changes");
strmid(PlayerInfo[extraid][pAdmName], CMySQL_Get(PlayerName(extraid), "Accounts", "Username", "AdmName"), 0, strlen(CMySQL_Get(PlayerName(extraid), "Accounts", "Username", "AdmName")), 255);
and when i try to compile i get these errors for those lines in the script
Code:
(2531) : error 035: argument type mismatch (argument 3)
(2532) : error 035: argument type mismatch (argument 3)
(2533) : error 035: argument type mismatch (argument 3)
(2534) : error 035: argument type mismatch (argument 3)
(2535) : error 035: argument type mismatch (argument 4)
can someone please help? thanks
Re: error 035: argument type mismatch (argument 3) -
ThePhenix - 17.08.2012
Show us the PAWO lines.
(2531) : error 035: argument type mismatch (argument 3)
(2532) : error 035: argument type mismatch (argument 3)
(2533) : error 035: argument type mismatch (argument 3)
(2534) : error 035: argument type mismatch (argument 3)
(2535) : error 035: argument type mismatch (argument 4)
Also Use
to show a PAWNO code!
Re: error 035: argument type mismatch (argument 3) -
Ben_Hatfield - 17.08.2012
Code:
pawn Code:
Code:
PlayerInfo[extraid][pCarTicket] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username", "CarTicket");
PlayerInfo[extraid][pTut] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username", "Tutorial");
PlayerInfo[extraid][pSex] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username", "Sex");
PlayerInfo[extraid][pChanges] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username", "Changes");
strmid(PlayerInfo[extraid][pAdmName], CMySQL_Get(PlayerName(extraid), "Accounts", "Username", "AdmName"), 0, strlen(CMySQL_Get(PlayerName(extraid), "Accounts", "Username", "AdmName")), 255);