SA-MP Forums Archive
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=370073)



error 035: argument type mismatch (argument 3) - Ben_Hatfield - 19.08.2012

got some errors that i dont understand, can someone help? thanks

pawn Код:
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);

Код:
C:\Users\acer\Desktop\Premium Roleplay\gamemodes\PLRP.pwn(2531) : error 035: argument type mismatch (argument 3)
C:\Users\acer\Desktop\Premium Roleplay\gamemodes\PLRP.pwn(2532) : error 035: argument type mismatch (argument 3)
C:\Users\acer\Desktop\Premium Roleplay\gamemodes\PLRP.pwn(2533) : error 035: argument type mismatch (argument 3)
C:\Users\acer\Desktop\Premium Roleplay\gamemodes\PLRP.pwn(2534) : error 035: argument type mismatch (argument 3)
C:\Users\acer\Desktop\Premium Roleplay\gamemodes\PLRP.pwn(2535) : error 035: argument type mismatch (argument 4)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase



Re: error 035: argument type mismatch (argument 3) - Ben_Hatfield - 19.08.2012

anyone


Re: error 035: argument type mismatch (argument 3) - Akira297 - 19.08.2012

Sorry for post whoring or w/e.

I personally don't know MySQL that well, so I can't help or I honestly would.


Re: error 035: argument type mismatch (argument 3) - Ben_Hatfield - 19.08.2012

somebody has to know.


Re: error 035: argument type mismatch (argument 3) - Ben_Hatfield - 19.08.2012

****


Re: error 035: argument type mismatch (argument 3) - RanSEE - 19.08.2012

Post the natives or the header of the functions you use to fetch the information and tell us what "PlayerName(extraid)" resolves to?