[Ajuda] Erros Inventario
#1

Olб, tava colocando na minha gamemode essa FS

http://pastebin.com/PhCnC3dr

Ela й Dof2 e a minha gm й em dini entгo peguei e mudei todas Dof2 para dini.

e como a Fs й zcmd e a minha n eu mudei para aqla normal do samp

pawn Код:
if(strcmp("/inventario", cmdtext, true, 10) == 0)
    {
        new Inv[160];
        new Nome[20];
        for(new i = 0; i != 8; i++)
        {
                GetWeaponName(InventarioArma[i][playerid], Nome, 20);
                strcat(Inv, InventarioArma[i][playerid] > 0 ? (InventarioArma[i][playerid] == 18 ? ("Cocktail Molotov") : (Nome)) : ("(Vazio)"));
                strcat(Inv, "\n");
        }
        strcat(Inv, "Guardar equipamento atual");
        ShowPlayerDialog(playerid, DialogInv, DIALOG_STYLE_LIST, "Itens", Inv, "Selecionar", "Fechar");
        return 1;
}
Deu esses erros.

pawn Код:
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\pawno\include\dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(355) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(1970) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(2280) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(2716) : warning 219: local variable "Nome" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(2717) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(2815) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3131) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3133) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3135) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3137) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3143) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3145) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3148) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3153) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3158) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3162) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3165) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3168) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3292) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3296) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3298) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3301) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3303) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3307) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3313) : error 021: symbol already defined: "strins"
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3314) : error 010: invalid function or declaration
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3322) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3346) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3348) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3363) : warning 219: local variable "Nome" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3367) : error 017: undefined symbol "dini_FileExists"
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3369) : error 017: undefined symbol "dini_CreateFile"
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3372) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3375) : error 017: undefined symbol "dini_SetInt"
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3377) : error 017: undefined symbol "dini_SetInt"
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3379) : error 017: undefined symbol "dini_SaveFile"
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3471) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3497) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3541) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3572) : warning 203: symbol is never used: "Nome"
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3572) : warning 203: symbol is never used: "Tentativas"
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3572) : warning 203: symbol is never used: "i"
C:\Users\Gustavo\Desktop\PB explosive\Sabotage H1Z1\Gamemodes\PBE.pwn(3572) : warning 203: symbol is never used: "string"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


25 Errors.
Reply


Messages In This Thread
Erros Inventario - by zGuigui2068 - 11.04.2016, 19:22
Re: Erros Inventario - by F1N4L - 11.04.2016, 19:26
Re: Erros Inventario - by zGuigui2068 - 11.04.2016, 19:30
Re: Erros Inventario - by F1N4L - 11.04.2016, 19:33
Re: Erros Inventario - by zGuigui2068 - 11.04.2016, 19:40
Re: Erros Inventario - by zGuigui2068 - 11.04.2016, 19:44
Re: Erros Inventario - by F1N4L - 11.04.2016, 19:45
Re: Erros Inventario - by zGuigui2068 - 11.04.2016, 19:54
Re: Erros Inventario - by F1N4L - 11.04.2016, 20:05
Re: Erros Inventario - by zGuigui2068 - 11.04.2016, 20:14

Forum Jump:


Users browsing this thread: 2 Guest(s)