[Ajuda]GM Deu grande erro em Pawn
#1

Boas, vim aqui pedir-vos uma ajuda, tipo eu vou ao pawn e fasso compilar e ele diz " o Pawn.exe deixou de funcionar" agora ligo o server dis isto, vejam ai a foto

/imageshack/img695/264/semttuloefg.jpg

EDIT:

fui rever o meu GM e vi algo que poderia tar mal e tirei isto

pawn Код:
stock sscanf(string[], format[], {Float,_}:...)
{
    new
        formatPos = 0,
        stringPos = 0,
        paramPos = 2,
        paramCount = numargs();
    while (paramPos < paramCount && string[stringPos])
    {
        switch (format[formatPos++])
        {
            case '\0':
            {
                return 0;
            }
            case 'i', 'd':
            {
                new
                    neg = 1,
                    num = 0,
                    ch = string[stringPos];
                if (ch == '-')
                {
                    neg = -1;
                    ch = string[++stringPos];
                }
                do
                {
                    stringPos++;
                    if (ch >= '0' && ch <= '9')
                    {
                        num = (num * 10) + (ch - '0');
                    }
                    else
                    {
                        return 1;
                    }
                }
                while ((ch = string[stringPos]) && ch != ' ');
                setarg(paramPos, 0, num * neg);
            }
            case 'h', 'x':
            {
                new
                    ch,
                    num = 0;
                while ((ch = string[stringPos++]))
                {
                    switch (ch)
                    {
                        case 'x', 'X':
                        {
                            num = 0;
                            continue;
                        }
                        case '0' .. '9':
                        {
                            num = (num << 4) | (ch - '0');
                        }
                        case 'a' .. 'f':
                        {
                            num = (num << 4) | (ch - ('a' - 10));
                        }
                        case 'A' .. 'F':
                        {
                            num = (num << 4) | (ch - ('A' - 10));
                        }
                        case ' ':
                        {
                            break;
                        }
                        default:
                        {
                            return 1;
                        }
                    }
                }
                setarg(paramPos, 0, num);
            }
            case 'c':
            {
                setarg(paramPos, 0, string[stringPos++]);
            }
            case 'f':
            {
                new tmp[25];
                strmid(tmp, string, stringPos, stringPos+sizeof(tmp)-2);
                setarg(paramPos, 0, _:floatstr(tmp));
            }
            case 's', 'z':
            {
                new
                    i = 0,
                    ch;
                if (format[formatPos])
                {
                    while ((ch = string[stringPos++]) && ch != ' ')
                    {
                        setarg(paramPos, i++, ch);
                    }
                    if (!i) return 1;
                }
                else
                {
                    while ((ch = string[stringPos++]))
                    {
                        setarg(paramPos, i++, ch);
                    }
                }
                stringPos--;
                setarg(paramPos, i, '\0');
            }
            default:
            {
                continue;
            }
        }
        while (string[stringPos] && string[stringPos] != ' ')
        {
            stringPos++;
        }
        while (string[stringPos] == ' ')
        {
            stringPos++;
        }
        paramPos++;
    }
    while (format[formatPos] == 'z') formatPos++;
    return format[formatPos];
}

e deume estes erros


Код:
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(3225) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(9885) : error 017: undefined symbol "ManualVehicleEngineAndLights"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12435) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12442) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12478) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12485) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12517) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12518) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12511) : warning 203: symbol is never used: "ob"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12511) : warning 203: symbol is never used: "porma"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12511) : warning 203: symbol is never used: "cap"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12511) : warning 203: symbol is never used: "por"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12511) : warning 203: symbol is never used: "alar"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12511) : warning 203: symbol is never used: "lu"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12511) : warning 203: symbol is never used: "mot"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12538) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12539) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12532) : warning 203: symbol is never used: "ob"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12532) : warning 203: symbol is never used: "porma"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12532) : warning 203: symbol is never used: "cap"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12532) : warning 203: symbol is never used: "por"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12532) : warning 203: symbol is never used: "alar"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12532) : warning 203: symbol is never used: "lu"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12532) : warning 203: symbol is never used: "mot"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12560) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12561) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12554) : warning 203: symbol is never used: "ob"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12554) : warning 203: symbol is never used: "porma"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12554) : warning 203: symbol is never used: "cap"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12554) : warning 203: symbol is never used: "por"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12554) : warning 203: symbol is never used: "alar"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12554) : warning 203: symbol is never used: "lu"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12554) : warning 203: symbol is never used: "mot"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12581) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12582) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12575) : warning 203: symbol is never used: "ob"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12575) : warning 203: symbol is never used: "porma"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12575) : warning 203: symbol is never used: "cap"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12575) : warning 203: symbol is never used: "por"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12575) : warning 203: symbol is never used: "alar"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12575) : warning 203: symbol is never used: "lu"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12575) : warning 203: symbol is never used: "mot"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12602) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12603) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12596) : warning 203: symbol is never used: "ob"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12596) : warning 203: symbol is never used: "porma"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12596) : warning 203: symbol is never used: "cap"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12596) : warning 203: symbol is never used: "por"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12596) : warning 203: symbol is never used: "alar"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12596) : warning 203: symbol is never used: "lu"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12596) : warning 203: symbol is never used: "mot"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12623) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12624) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12617) : warning 203: symbol is never used: "ob"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12617) : warning 203: symbol is never used: "porma"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12617) : warning 203: symbol is never used: "cap"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12617) : warning 203: symbol is never used: "por"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12617) : warning 203: symbol is never used: "alar"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12617) : warning 203: symbol is never used: "lu"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12617) : warning 203: symbol is never used: "mot"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12644) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12645) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12638) : warning 203: symbol is never used: "ob"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12638) : warning 203: symbol is never used: "porma"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12638) : warning 203: symbol is never used: "cap"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12638) : warning 203: symbol is never used: "por"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12638) : warning 203: symbol is never used: "alar"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12638) : warning 203: symbol is never used: "lu"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12638) : warning 203: symbol is never used: "mot"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12665) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12666) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12659) : warning 203: symbol is never used: "ob"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12659) : warning 203: symbol is never used: "porma"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12659) : warning 203: symbol is never used: "cap"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12659) : warning 203: symbol is never used: "por"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12659) : warning 203: symbol is never used: "alar"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12659) : warning 203: symbol is never used: "lu"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12659) : warning 203: symbol is never used: "mot"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12686) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12687) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12680) : warning 203: symbol is never used: "ob"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12680) : warning 203: symbol is never used: "porma"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12680) : warning 203: symbol is never used: "cap"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12680) : warning 203: symbol is never used: "por"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12680) : warning 203: symbol is never used: "alar"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12680) : warning 203: symbol is never used: "lu"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12680) : warning 203: symbol is never used: "mot"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12707) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12708) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12701) : warning 203: symbol is never used: "ob"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12701) : warning 203: symbol is never used: "porma"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12701) : warning 203: symbol is never used: "cap"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12701) : warning 203: symbol is never used: "por"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12701) : warning 203: symbol is never used: "alar"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12701) : warning 203: symbol is never used: "lu"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12701) : warning 203: symbol is never used: "mot"
C:\Users\Ricardo\Desktop\Server SA-MP 0.3c\gamemodes\RPGTUGA.pwn(12728) : error 017: undefined symbol "GetVehicleParamsEx"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#2

Este sistema estб bugado tente usar outro.
Reply
#3

Nem tгo pouco bugado, waehuahdsdasss
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)