Argument error - 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 error (
/showthread.php?tid=286046)
Argument error -
jaami - 26.09.2011
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\nishki\Desktop\GTALS\gamemodes\RP.pwn(254 5) : error 035: argument type mismatch (argument 3)
C:\Users\nishki\Desktop\GTALS\gamemodes\RP.pwn(254 6) : error 035: argument type mismatch (argument 3)
C:\Users\nishki\Desktop\GTALS\gamemodes\RP.pwn(254 7) : error 035: argument type mismatch (argument 3)
C:\Users\nishki\Desktop\GTALS\gamemodes\RP.pwn(254
: error 035: argument type mismatch (argument 3)
C:\Users\nishki\Desktop\GTALS\gamemodes\RP.pwn(254 9) : error 035: argument type mismatch (argument 4)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
Thanks for the help.
Regards from ME