Mysql Errors & Warnings
#1

pawn Код:
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(300) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(318) : error 017: undefined symbol "mysql_log"
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(684) : error 017: undefined symbol "split"
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(731) : error 017: undefined symbol "split"
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2065) : warning 204: symbol is assigned a value that is never used: "oldcar"
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2244) : warning 235: public function lacks forward declaration (symbol "OnDialoResponse")
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2291) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2296) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2297) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2299) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2299) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2300) : error 017: undefined symbol "split"
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2302) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2881) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2882) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2882) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2884) : error 017: undefined symbol "split"
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2909) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2971) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2972) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2978) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2984) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2984) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2985) : error 017: undefined symbol "split"
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2987) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(2995) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(3029) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(3042) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(3043) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(3047) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(3070) : warning 213: tag mismatch
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(3387) : warning 203: symbol is never used: "BusinessTag"
C:\Documents and Settings\Anthony\Desktop\Showoff\gamemodes\BNS.pwn(3387) : warning 203: symbol is never used: "FactionInfo"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.
I could use some help with the errors, most of them is the undefinded split thing, so if someone could give me that id really appreciate it
Reply
#2

pawn Код:
stock split(const strsrc[], strdest[][], delimiter)
{
    new i, li;
    new aNum;
    new len;
    while(i <= strlen(strsrc)){
        if(strsrc[i]==delimiter || i==strlen(strsrc)){
            len = strmid(strdest[aNum], strsrc, li, i, 128);
            strdest[aNum][len] = 0;
            li = i+1;
            aNum++;
        }
        i++;
    }
    return 1;
}
Reply
#3

Thanks a bunch bro, now i only have 23 warning, lol xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)