22.12.2012, 14:47
Porque esta dando os 3 erro ? e o warning
pawn Код:
//==============================================================================
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/equipe", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_BLUE , "----------------------------------------------");
SendClientMessage(playerid, COLOR_GREEN , "[Brasil CarboN Games] Equipe");
SendClientMessage(playerid, COLOR_GREEN , "Dono/Scripter: Kluunk_CarboN");
SendClientMessage(playerid, COLOR_GREEN , "Sub-Donos: BlooD_CarboN");
SendClientMessage(playerid, COLOR_GREEN , "Ajudante De Sub-Dono: Wesley_CarboN");
SendClientMessage(playerid, COLOR_BLUE , "Brasilcarbongames.forumeiros.com");
SendClientMessage(playerid, COLOR_BLUE , "----------------------------------------------");
return 1;
}
return 0;
}
if (strcmp("/orgs", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_BLUE , "Governo - 1");
SendClientMessage(playerid,COLOR_BLUE , "Samu - 2");
SendClientMessage(playerid,COLOR_BLUE , "Policia Militar - 3");
SendClientMessage(playerid,COLOR_BLUE , "Policia Civil - 4");
SendClientMessage(playerid,COLOR_BLUE , "Policia Federal - 5");
SendClientMessage(playerid,COLOR_BLUE , "Bope - 6");
SendClientMessage(playerid,COLOR_BLUE , "Exercito - 7");
SendClientMessage(playerid,COLOR_BLUE , "Interpol - 8");
SendClientMessage(playerid,COLOR_BLUE , "Los Aztecas - 9");
SendClientMessage(playerid,COLOR_BLUE , "Los Vagos - 10");
SendClientMessage(playerid,COLOR_BLUE , "Los Tugas - 11");
SendClientMessage(playerid,COLOR_BLUE , "Ballas - 12");
SendClientMessage(playerid,COLOR_BLUE , "Groove Street - 13");
SendClientMessage(playerid,COLOR_BLUE , "Comando Vermelho - 14");
SendClientMessage(playerid,COLOR_BLUE , "Cosa Nostra - 15");
SendClientMessage(playerid,COLOR_BLUE , "Yakuza -16");
SendClientMessage(playerid,COLOR_BLUE , "Sons Of Anarchy - 17");
SendClientMessage(playerid,COLOR_BLUE , "Mayans - 18");
SendClientMessage(playerid,COLOR_BLUE , "Taliban - 19");
SendClientMessage(playerid,COLOR_BLUE , "Alqaeda - 20");
SendClientMessage(playerid,COLOR_BLUE , "Hitmans - 21");
SendClientMessage(playerid,COLOR_BLUE , "Reportes - 22");
SendClientMessage(playerid,COLOR_BLUE , "Taxistas - 23");
return 1;
}
return 0;
}
//==============================================================================
pawn Код:
C:\Documents and Settings\Kluunk\Desktop\Serve\gamemodes\BCG.pwn(79) : warning 217: loose indentation
C:\Documents and Settings\Kluunk\Desktop\Serve\gamemodes\BCG.pwn(82) : error 010: invalid function or declaration
C:\Documents and Settings\Kluunk\Desktop\Serve\gamemodes\BCG.pwn(107) : error 010: invalid function or declaration
C:\Documents and Settings\Kluunk\Desktop\Serve\gamemodes\BCG.pwn(109) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.