[Ajuda] Pawno Nгo Reconhecendo Include!
#1

Olб,
Bom Hoje eu estou tentando Compliar minha Gamemode, mais quando vou compliar da o Seguinte Erro
Код:
fatal error 100: cannot read from file: "foreach"
Claro, que eu sei Porque estб Faltando essa Include, Mais quando vou na Pasta dos Includes do Pawn a Include Foreach estб Lб! O Que Pode estб acontecendo ?



#Desculpa sou Novato, Preciso aprende sobre Includes!
Reply
#2

Talvez o seu IDE esteja configurado para utilizar-se das includes em outro diretуrio. Acontece muito quando se tem mъltiplos diretуrios de servidores. Verifique nas configuraзхes de sua IDE.
Reply
#3

Olб,
Dolby entгo a Seзгo de Includes estгo Assim :

PHP код:
#include  <           a_samp         >
#include  <         a_npc          >
#include  <        file              >
#include  <        Dini           >
#include  <        float          >
#include  <       foreach         >
#include  <        time           >
#include  <       streamer        > 
Bom, Nгo estб Configurado para Multiplos Diretorios! E Estava Compliando Normal, do nada comeзou a apresenta esse Erro da Foreach
Reply
#4

Verifique se estas includes estгo no mesmo diretуrio de seu IDE e do compilador.
Reply
#5

Correto! As mesma estгo no Mesmo Diretorio

Vocк tem Skype ? Assim fica mais facil de vocк me ajuda
Reply
#6

Galera, Consegui Arrumar o Erro! Apareceu um monte de Erro de Compliaзгo, mais eu arrumo quanto mais eu arrumo aparece mais erro Haha

PHP код:
D:\Facil\gamemodes\BPF.pwn(2) : error 049invalid line continuation
D
:\Facil\gamemodes\BPF.pwn(1493) : error 004: function "split" is not implemented
D
:\Facil\gamemodes\BPF.pwn(1611) : error 004: function "split" is not implemented
D
:\Facil\gamemodes\BPF.pwn(1735) : error 017undefined symbol "ContarJogadores"
D:\Facil\gamemodes\BPF.pwn(2929) : error 029invalid expressionassumed zero
D
:\Facil\gamemodes\BPF.pwn(2931) : error 010invalid function or declaration
D
:\Facil\gamemodes\BPF.pwn(4249) : error 004: function "OnPlayerLogin" is not implemented
D
:\Facil\gamemodes\BPF.pwn(4256) : error 004: function "OnPlayerLogin" is not implemented
D
:\Facil\gamemodes\BPF.pwn(4305) : error 004: function "OnPlayerRegister" is not implemented
D
:\Facil\gamemodes\BPF.pwn(4314) : error 004: function "OnPlayerRegister" is not implemented
D
:\Facil\gamemodes\BPF.pwn(4370) : error 004: function "OnPlayerCommandText" is not implemented
D
:\Facil\gamemodes\BPF.pwn(4406) : error 004: function "OnPlayerCommandText" is not implemented
D
:\Facil\gamemodes\BPF.pwn(4441) : error 004: function "ClearChatbox" is not implemented
D
:\Facil\gamemodes\BPF.pwn(4455) : error 004: function "ClearChatbox" is not implemented
D
:\Facil\gamemodes\BPF.pwn(5100) : error 004: function "OnPlayerText" is not implemented
D
:\Facil\gamemodes\BPF.pwn(5106) : error 004: function "OnPlayerText" is not implemented
D
:\Facil\gamemodes\BPF.pwn(5117) : error 004: function "OnPlayerText" is not implemented
D
:\Facil\gamemodes\BPF.pwn(5123) : error 004: function "OnPlayerText" is not implemented
D
:\Facil\gamemodes\BPF.pwn(5132) : error 004: function "OnPlayerCommandText" is not implemented
D
:\Facil\gamemodes\BPF.pwn(5136) : error 004: function "OnPlayerCommandText" is not implemented
D
:\Facil\gamemodes\BPF.pwn(5150) : error 017undefined symbol "NomeFamy"
D:\Facil\gamemodes\BPF.pwn(5193) : error 017undefined symbol "NomeFamy"
D:\Facil\gamemodes\BPF.pwn(5200) : error 004: function "OnPlayerCommandText" is not implemented
D
:\Facil\gamemodes\BPF.pwn(5208) : error 004: function "OnPlayerCommandText" is not implemented
D
:\Facil\gamemodes\BPF.pwn(5212) : error 004: function "OnPlayerCommandText" is not implemented
D
:\Facil\gamemodes\BPF.pwn(5220) : error 004: function "OnPlayerCommandText" is not implemented 
Vlw pela ajuda
Reply
#7

Callbacks nativas do SA-MP dando erro... Amigo, verifica se voce estб abrindo o gamemode com o pawno correto...
Reply
#8

Tente atualizar as includes e tambйm abrir o seu IDE no local onde esta a include.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)