[Ajuda] Erro no Comando
#1

ERRO:

Код:
C:\Users\PequeninO\Desktop\PequeninO ™\gamemodes\sandreas.pwn(1782) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
1 Error.


Linha do ERRO:
Код:
    return 0;
Codigo Completo:

Код:
CMD:gc(playerid)
{
    if(Ativado[playerid] == 1) {
    SendClientMessage(playerid, 0xF3FA2EAA, "|SERVER| GodCar Jб estб ativado, Para desativar USE: ( /Gcoff )");
    return 1;
    }
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xF3FA2EAA, "|SERVER| Permitido uso desse comando, somente dentro de veiculo.");
    TempoAutoReparar = SetTimerEx("AutoReparar", 200, true, "i", playerid);
    SendClientMessage(playerid, 0xF3FA2EAA, "|SERVER| GodCar Ativado.");
    Ativado[playerid] =1;
    return 1;
}

CMD:gcoff(playerid)
{
    if(Ativado[playerid] == 0) {
    SendClientMessage(playerid, 0xF3FA2EAA, "|SERVER| GodCar nгo estб ativado, Para Ativar USE: ( /Gc )");
    return 1;
    }
    KillTimer(TempoAutoReparar);
    SendClientMessage(playerid, 0xF3FA2EAA, "|SERVER| GodCar Desativado, Para Ativar USE: ( /Gc )");
    Ativado[playerid] = 0;
    return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Erro no Comando - by maxblaya01 - 21.04.2016, 00:24
Re: Erro no Comando - by Artista - 21.04.2016, 00:32
Re: Erro no Comando - by maxblaya01 - 21.04.2016, 00:54

Forum Jump:


Users browsing this thread: 1 Guest(s)