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

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

anyone
Reply
#3

Sorry for post whoring or w/e.

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

somebody has to know.
Reply
#5

****
Reply
#6

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


Forum Jump:


Users browsing this thread: 1 Guest(s)