argument type mismatch - 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: argument type mismatch (
/showthread.php?tid=348700)
argument type mismatch -
Tony10 - 06.06.2012
Код:
C:\Users\Medo\Desktop\SERVER\gamemodes\RP-FR.pwn(2546) : error 035: argument type mismatch (argument 3)
C:\Users\Medo\Desktop\SERVER\gamemodes\RP-FR.pwn(2547) : error 035: argument type mismatch (argument 3)
C:\Users\Medo\Desktop\SERVER\gamemodes\RP-FR.pwn(2548) : error 035: argument type mismatch (argument 3)
C:\Users\Medo\Desktop\SERVER\gamemodes\RP-FR.pwn(2549) : error 035: argument type mismatch (argument 3)
C:\Users\Medo\Desktop\SERVER\gamemodes\RP-FR.pwn(2550) : error 035: argument type mismatch (argument 4)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
If anyone know how to fix this,please here is the lines
Код:
2546: PlayerInfo[extraid][pCarTicket] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username", "CarTicket");
2547: PlayerInfo[extraid][pTut] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username", "Tutorial");
2548: PlayerInfo[extraid][pSex] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username","Sex");
2549: PlayerInfo[extraid][pChanges] = CMySQL_Int(PlayerName(extraid), "Accounts", "Username", "Changes");
2550: strmid(PlayerInfo[extraid][pAdmName], CMySQL_Get(PlayerName(extraid), "Accounts", "Username", "AdmName"), 0, strlen(CMySQL_Get(PlayerName(extraid), "Accounts", "Username", "AdmName")), 255);
AW: argument type mismatch -
Extremo - 06.06.2012
Hey could you post the natives or even the header of the functions you use to fetch the information and tell me what "PlayerName(extraid)" resolves to? I might be able to help you that way. Thanks
Re: argument type mismatch -
Tony10 - 06.06.2012
I serisly have no idea,what does playername(extraid) resolves to,someone gave me that script..,and thats why i asked for an help,cause i know nothing about the script