SA-MP Forums Archive
[Ajuda] fatal error 100: cannot read from file: "SII" - 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] fatal error 100: cannot read from file: "SII" (/showthread.php?tid=390413)



fatal error 100: cannot read from file: "SII" - SirUndead - 06.11.2012

Код:
C:\Users\Vinycius Christian\Desktop\Geral RP 0.3e\gamemodes\POU.pwn(17) : fatal error 100: cannot read from file: "SII"

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


1 Error.
Me ajudem ai.
Eu tive que colocar essa include:
#include <SII>
Mais deu isso.


Re: fatal error 100: cannot read from file: "SII" - Joao Pedro - 06.11.2012

Colocou o arquivo .inc na pasta Pawno/Includes ?


Re: fatal error 100: cannot read from file: "SII" - SirUndead - 06.11.2012

Procurei mais nгo achei :S


Re: fatal error 100: cannot read from file: "SII" - duuuwh - 06.11.2012

baixa a include SII cara..

Coloca ela nas includes da pasta do seu pawno


Re: fatal error 100: cannot read from file: "SII" - SirUndead - 06.11.2012

Eu tava procurando e achei.
Agora estб dando esse erro:
Код:
C:\Users\Vinycius Christian\Desktop\Geral RP 0.3e\gamemodes\POU.pwn(4868) : warning 209: function "OnPlayerKeyStateChange" should return a value
C:\Users\Vinycius Christian\Desktop\Geral RP 0.3e\gamemodes\POU.pwn(34456) : error 021: symbol already defined: "OnPlayerConnect"
C:\Users\Vinycius Christian\Desktop\Geral RP 0.3e\gamemodes\POU.pwn(34521) : error 021: symbol already defined: "OnPlayerExitVehicle"
C:\Users\Vinycius Christian\Desktop\Geral RP 0.3e\gamemodes\POU.pwn(34527) : error 021: symbol already defined: "OnPlayerStateChange"
C:\Users\Vinycius Christian\Desktop\Geral RP 0.3e\gamemodes\POU.pwn(34538) : error 021: symbol already defined: "OnPlayerKeyStateChange"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.



Re: fatal error 100: cannot read from file: "SII" - SirUndead - 06.11.2012

Код:
Linha 34455 public OnPlayerConnect(playerid)
{
   CreatePlayer3DTextLabel(playerid,"DIGITAR /GASOLINA PARA ENCHER O TANQUE !",0x008080FF,1944.7036,-1774.6039,13.3906,50.0);
   CreatePlayer3DTextLabel(playerid,"DIGITAR /GASOLINA PARA ENCHER O TANQUE !",0x008080FF,1836.1078,-2428.0291,13.5547,500.0);
   SetPlayerMapIcon( playerid, 54, 1944.7036,-1774.6039,13.3906, 55, 3 );
   SetPlayerMapIcon( playerid, 55, 1836.1078,-2428.0291,13.5547, 55, 3 );
   return 1;
}
Код:
Linha 34520 public OnPlayerExitVehicle(playerid, vehicleid)
{

        TogglePlayerControllable(playerid,1);
        return 1;
}
Код:
Linha 34526 public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new veiculoid = GetPlayerVehicleID(playerid);
    if(newstate == PLAYER_STATE_DRIVER)
        {
      marcha[playerid] = 1;
      GetVehicleParamsEx(veiculoid,motor,luzes,alarme,porta,capota,mala,objetivo);
      SetVehicleParamsEx(veiculoid,VEICULO_DESLIGADO,luzes,alarme,porta,capota,mala,objetivo);
        }
        return 1;
}
Код:
Linha 34537 public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
        if (newkeys && KEY_FIRE)
        {
                if (IsPlayerInAnyVehicle(playerid))
                {
                  ativado[playerid] = true;
              SetTimerEx("ativa",2000,false,"i",playerid);
                }
        }
        return 1;
}



Re: fatal error 100: cannot read from file: "SII" - SirUndead - 06.11.2012

@UP POST.

Ajude-me alguem por favor...


Re: fatal error 100: cannot read from file: "SII" - smiiir - 06.11.2012

tem a

pawn Код:
#include <a_samp>
No Topo do GM?


Re: fatal error 100: cannot read from file: "SII" - SirUndead - 06.11.2012

Tem sim...


Re: fatal error 100: cannot read from file: "SII" - smiiir - 06.11.2012

Retira as Callback que vocк coloco Jб tem Definido