error 035: argument type mismatch (argument 3)
#1

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
Reply
#2

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
pawn Code:
---------
to show a PAWNO code!
Reply
#3

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);
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)