warning 202: number of arguments does not match definition
#1

Код:
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(3208) : warning 203: symbol is never used: "Angle"
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(3208) : warning 203: symbol is never used: "Object"
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13479) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13484) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13485) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13486) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13487) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13488) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13489) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13490) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13491) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13492) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13493) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13494) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13495) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13496) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13497) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13498) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13499) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13500) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13501) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13502) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13503) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13504) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13505) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13506) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13507) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13508) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13509) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13510) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13511) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13512) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13513) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13514) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13515) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13516) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13517) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13518) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13519) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(13520) : warning 202: number of arguments does not match definition
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(49335) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
C:\Users\RC520\Desktop\fdsdfs\new\gamemodes\LosSantos_U4.pwn(49335) : warning 203: symbol is never used: "Turfs"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          11580 bytes
Code size:          1780736 bytes
Data size:         10652456 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4587 cells (18348 bytes)
Total requirements:12461156 bytes

42 Warnings.
pawn Код:
if(strcmp(PlayerInfo[playerid][pKey], MD5_Hash(password), true ) == 0 )
    {
        new
            Field[64],
            query[1024]
        ;
        new plname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, plname, sizeof(plname));
        format(query, sizeof(query), "SELECT * FROM `players` WHERE `Name` = '%d'", plname);
        samp_mysql_query(query);
        samp_mysql_store_result();
        if (samp_mysql_fetch_row(query,"|"))
        {
            // The rcnt values here represent the order of the columns in the characters table, so don't mess with them
            // If you add a column to the table, just add a new line with a +1 rcnt to the block below
            // Start it at 3 to skip the first few records we don't need (id, player name, password)
            samp_mysql_fetch_row(Field,"Cash"); PlayerInfo[playerid][pCash] = strval(Field);
            samp_mysql_fetch_row(Field,"Model"); PlayerInfo[playerid][pModel] = strval(Field);
            samp_mysql_fetch_row(Field,"Crash"); PlayerInfo[playerid][pCrashed] = strval(Field);
            samp_mysql_fetch_row(Field,"Prosad"); PlayerInfo[playerid][pProsad] = strval(Field);
            samp_mysql_fetch_row(Field,"PosX"); PlayerInfo[playerid][pPos_x] = strval(Field);
            samp_mysql_fetch_row(Field,"PosY"); PlayerInfo[playerid][pPos_y] = strval(Field);
            samp_mysql_fetch_row(Field,"PosZ"); PlayerInfo[playerid][pPos_z] = strval(Field);
            samp_mysql_fetch_row(Field,"Age"); PlayerInfo[playerid][pAge] = strval(Field);
            samp_mysql_fetch_row(Field,"Origin"); PlayerInfo[playerid][pOrigin] = strval(Field);
            samp_mysql_fetch_row(Field,"Respekt"); PlayerInfo[playerid][pExp] = strval(Field);
            samp_mysql_fetch_row(Field,"ConnectedTime"); PlayerInfo[playerid][pConnectTime] = strval(Field);
            samp_mysql_fetch_row(Field,"Age"); PlayerInfo[playerid][pAccount] = strval(Field);
            samp_mysql_fetch_row(Field,"Crimes"); PlayerInfo[playerid][pCrimes] = strval(Field);
            samp_mysql_fetch_row(Field,"Telefoniraamat"); PlayerInfo[playerid][pPhoneBook] = strval(Field);
            samp_mysql_fetch_row(Field,"CarKey1"); PlayerInfo[playerid][pPcarkey] = strval(Field);
            samp_mysql_fetch_row(Field,"CarKey2"); PlayerInfo[playerid][pPcarkey2] = strval(Field);
            samp_mysql_fetch_row(Field,"CarKey3"); PlayerInfo[playerid][pPcarkey3] = strval(Field);
            samp_mysql_fetch_row(Field,"Job"); PlayerInfo[playerid][pJob] = strval(Field);
            samp_mysql_fetch_row(Field,"PayCheck"); PlayerInfo[playerid][pPayCheck] = strval(Field);
            samp_mysql_fetch_row(Field,"AdminLevel"); PlayerInfo[playerid][pAdmin] = strval(Field);
            samp_mysql_fetch_row(Field,"Jailed"); PlayerInfo[playerid][pJailed] = strval(Field);
            samp_mysql_fetch_row(Field,"JailTime"); PlayerInfo[playerid][pJailTime] = strval(Field);
            samp_mysql_fetch_row(Field,"Mats"); PlayerInfo[playerid][pMats] = strval(Field);
            samp_mysql_fetch_row(Field,"Narkot"); PlayerInfo[playerid][pDrugs] = strval(Field);
            samp_mysql_fetch_row(Field,"Liider"); PlayerInfo[playerid][pLeader] = strval(Field);
            samp_mysql_fetch_row(Field,"Member"); PlayerInfo[playerid][pMember] = strval(Field);
            samp_mysql_fetch_row(Field,"Rank"); PlayerInfo[playerid][pRank] = strval(Field);
            samp_mysql_fetch_row(Field,"Armour"); PlayerInfo[playerid][pSHealth] = floatstr(Field);
            samp_mysql_fetch_row(Field,"Health"); PlayerInfo[playerid][pHealth] = floatstr(Field);
            samp_mysql_fetch_row(Field,"Inte"); PlayerInfo[playerid][pInt] = strval(Field);
            samp_mysql_fetch_row(Field,"PhoneNum"); PlayerInfo[playerid][pPnumber] = strval(Field);
            samp_mysql_fetch_row(Field,"HouseKey"); PlayerInfo[playerid][pPhousekey] = strval(Field);
            samp_mysql_fetch_row(Field,"DriveLic"); PlayerInfo[playerid][pCarLic] = strval(Field);
            samp_mysql_fetch_row(Field,"GunLic"); PlayerInfo[playerid][pGunLic] = strval(Field);
            samp_mysql_fetch_row(Field,"Warnings"); PlayerInfo[playerid][pWarns] = strval(Field);
            samp_mysql_fetch_row(Field,"Fuel"); PlayerInfo[playerid][pFuel] = strval(Field);
            samp_mysql_fetch_row(Field,"Locked"); PlayerInfo[playerid][pLocked] = strval(Field);
        }
        //samp_mysql_free_result();
    }
    else
    {
        SendClientMessage(playerid, COLOR_WHITE, "SERVER: Password does not match your name.");
        //fclose(UserFile);
        gPlayerLogTries[playerid] += 1;
        if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
        return 1;
         }
Reply
#2

It does not not have third var:

https://sampwiki.blast.hk/wiki/MySQL#mysql_fetch_row_format
Reply
#3

I dont understand ?
Reply
#4

Sorry for double post , but i need help fast...

Thanks..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)