SA-MP Forums Archive
[Ajuda] Ajuda com esse erro ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Ajuda com esse erro ? (/showthread.php?tid=478264)



Ajuda com esse erro ? - FPB_Lipos - 28.11.2013

Alguem ?

Код:
C:\Users\Felipe\Desktop\BPF\pawno\include\YSI/y_ini.inc(1050) : warning 202: number of arguments does not match definition
C:\Users\Felipe\Desktop\BPF\filterscripts\gCamera.pwn(116) : error 010: invalid function or declaration
C:\Users\Felipe\Desktop\BPF\filterscripts\gCamera.pwn(118) : error 010: invalid function or declaration
C:\Users\Felipe\Desktop\BPF\filterscripts\gCamera.pwn(121) : error 010: invalid function or declaration
C:\Users\Felipe\Desktop\BPF\filterscripts\gCamera.pwn(124) : error 010: invalid function or declaration
C:\Users\Felipe\Desktop\BPF\filterscripts\gCamera.pwn(126) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Linhas:
Codes:
pawn Код:
if (strcmp("/gcam", cmdtext, true, 10) == 0)
    {
        if(PlayerInfo[playerid][pAdmin] < 1338)
        {
            SendClientMessage(playerid, COLOR_GRAD2, "Somente admins master ou dono podem usar este comando!");
            return 1;
        }
{
    if(!IsPlayerAdmin(playerid)) return 0;
    ShowPlayerDialog(playerid,DIALOG_MAIN,DIALOG_STYLE_LIST,"{00A5FF}gCamera {FFFFFF}- {FFDC00}Menu","{37FF00}Criar speedcamera\n\nColocar mais proxima [ID]\nEditar mais proxima\n{FF1400}Excluir o mais proximo\n{FF1400}Excluir todas as cameras","Ok","Cancelar");
    return 1;
}
@edit


Re: Ajuda com esse erro ? - CharlieBrown - 28.11.2013

sem o code nao da para ajudar.


Re: Ajuda com esse erro ? - FPB_Lipos - 28.11.2013

Quote:
Originally Posted by CharlieBrown
Посмотреть сообщение
sem o code nao da para ajudar.
Code acima /\


Re: Ajuda com esse erro ? - CharlieBrown - 28.11.2013

pawn Код:
if (strcmp("/gcam", cmdtext, true, 10) == 0)
{
        if(PlayerInfo[playerid][pAdmin] < 1338) return  SendClientMessage(playerid, COLOR_GRAD2, "Somente admins master ou dono podem usar este comando!");
        if(!IsPlayerAdmin(playerid))
        {
        ShowPlayerDialog(playerid,DIALOG_MAIN,DIALOG_STYLE_LIST,"{00A5FF}gCamera {FFFFFF}- {FFDC00}Menu","{37FF00}Criar speedcamera\n\nColocar mais proxima [ID]\nEditar mais proxima\n{FF1400}Excluir o mais proximo\n{FF1400}Excluir todas as cameras","Ok","Cancelar");
        }
        return 1;
}



Re: Ajuda com esse erro ? - FPB_Lipos - 28.11.2013

Quote:
Originally Posted by CharlieBrown
Посмотреть сообщение
pawn Код:
if (strcmp("/gcam", cmdtext, true, 10) == 0)
{
        if(PlayerInfo[playerid][pAdmin] < 1338) return  SendClientMessage(playerid, COLOR_GRAD2, "Somente admins master ou dono podem usar este comando!");
        if(!IsPlayerAdmin(playerid))
        {
        ShowPlayerDialog(playerid,DIALOG_MAIN,DIALOG_STYLE_LIST,"{00A5FF}gCamera {FFFFFF}- {FFDC00}Menu","{37FF00}Criar speedcamera\n\nColocar mais proxima [ID]\nEditar mais proxima\n{FF1400}Excluir o mais proximo\n{FF1400}Excluir todas as cameras","Ok","Cancelar");
        }
        return 1;
}
erro
Код:
C:\Users\Felipe\Desktop\BPF\pawno\include\YSI/y_ini.inc(1050) : warning 202: number of arguments does not match definition
C:\Users\Felipe\Desktop\BPF\filterscripts\gCamera.pwn(116) : error 010: invalid function or declaration
C:\Users\Felipe\Desktop\BPF\filterscripts\gCamera.pwn(118) : error 010: invalid function or declaration
C:\Users\Felipe\Desktop\BPF\filterscripts\gCamera.pwn(119) : error 010: invalid function or declaration
C:\Users\Felipe\Desktop\BPF\filterscripts\gCamera.pwn(123) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
4 Errors.