argument type mismatch
#1

Код:
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);
Reply
#2

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)