SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 01/07/2020, 06:24 PM   #21
Anonymous637
Big Clucker
 
Join Date: Jan 2019
Posts: 119
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Quote:
Originally Posted by Hatiro View Post
pode testar atualiza os plugin streamer sscanf windows sscanf linux se ter mas plugins avisa testa eles
Fiz o que você disse, agora saiu o erro run time 19 e foi para o 20:

Quote:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[15:26:44] password = "" (string)
[15:26:44] bind = "" (string)
[15:26:44]
[15:26:44] Server Plugins
[15:26:44] --------------
[15:26:44] Loading plugin: streamer
[15:26:44]

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[15:26:44] Loaded.
[15:26:44] Loading plugin: sscanf
[15:26:44]

[15:26:44] ===============================

[15:26:44] sscanf plugin loaded.

[15:26:44] Version: 2.8.3

[15:26:44] (c) 2018 Alex "******" Cole

[15:26:44] ===============================

[15:26:44] Loaded.
[15:26:44] Loaded 2 plugins.

[15:26:45]
[15:26:45] Filterscripts
[15:26:45] ---------------
[15:26:45] Loading filterscript 'lladmin.amx'...
[15:26:45] Loading filterscript 'Policia.amx'...
[15:26:45]
--------------|||||--------------------------
[15:26:45] Sistema de Policia ---- made by [XPG]MarlonCS
[15:26:45] .........................Carregado com sucesso!
[15:26:45] -----------------------------------------------

[15:26:45] Loading filterscript 'tag.amx'...
[15:26:45] Loading filterscript 'algemar.amx'...
[15:26:45] Unable to load filterscript 'algemar.amx'.
[15:26:45] Loading filterscript 'gang.amx'...
[15:26:45]
================================================== =
[15:26:45] Carregando Gang System [0.3d]
[15:26:45] Versao: 2.0.0 - By: Sub_Zero0_
[15:26:45]
[15:26:45] Verificando a pasta /gangs/ ...
[15:26:45] Pasta e arquivos básicos: OK
[15:26:45]
[15:26:45] Carregado com sucesso!
[15:26:45] ================================================== =

[15:26:45] Loading filterscript 'velocimetro.amx'...
[15:26:45] *****************************
[15:26:45] *** Velocimetro carregado ***
[15:26:45] *****************************
[15:26:45] Loading filterscript 'JFSRegistro.amx'...
[15:26:45] JFS Registro v1.1 PT/BR Iniciado.
[15:26:45] Loaded 6 filterscripts.

[15:26:45] Script[gamemodes/JMS.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[15:26:45] Number of vehicle models: 14
[15:26:45]
________________________________________________
[15:26:45]

Carregando LL Admin V1.7 By Lucas_Alemao...

[15:26:45] Pasta 'Logs' Encontrada e carregada com sucesso.
[15:26:45] Logs Criados/Carregados com sucesso.
[15:26:45] Pasta 'Banidos' Encontrada e carregada com sucesso.
[15:26:45] Pasta 'Banidos/Contas' Encontrada e carregada com sucesso.
[15:26:45] Pasta 'Admins' Encontrada e carregada com sucesso.
[15:26:45] Arquivo 'Fodidos.txt' Encontrado e carregado com sucesso.
[15:26:45] Arquivo 'Admins.adm' Encontrado e carregado com sucesso.
[15:26:45] Arquivo 'Helpers.hel' Encontrado e carregado com sucesso.
[15:26:45] Arquivo 'Vips.vip' Encontrado e carregado com sucesso.
[15:26:45] Pasta 'Contas' Encontrada e carregada com sucesso.
[15:26:45]
LL Admin V1.7 Carregado com sucesso.

[15:26:45]
Use /la para ajuda.
[15:26:45] Bom Jogo


[15:26:45] ________________________________________________
Anonymous637 is offline   Reply With Quote
Old 01/07/2020, 07:29 PM   #22
Hatiro
Huge Clucker
 
Hatiro's Avatar
 
Join Date: Mar 2019
Posts: 383
Reputation: 10
Default Re: Run time error 19: "File or function is not found"

adiciona
Code:
main( ) { }
dentro do JMS.pwn
__________________
https://pastebin.com/raw/KpFdDhaa]Projects
se eu lhe ajudei clique numa imagem assim perto da minha postagem para adicionar reputação,Scripts https://pastebin.com/u/Hatiro
Hatiro is offline   Reply With Quote
Old 01/07/2020, 07:32 PM   #23
Anonymous637
Big Clucker
 
Join Date: Jan 2019
Posts: 119
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Quote:
Originally Posted by Hatiro View Post
adiciona
Code:
main( ) { }
dentro do JMS.pwn
ja tem
Anonymous637 is offline   Reply With Quote
Old 01/07/2020, 07:34 PM   #24
Anonymous637
Big Clucker
 
Join Date: Jan 2019
Posts: 119
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

cara pode me passar o teu discord? fica bem melhor, porque por aqui eu espero um dia inteiro e ngm responde
Anonymous637 is offline   Reply With Quote
Old 01/07/2020, 08:02 PM   #25
Hazard
Big Clucker
 
Hazard's Avatar
 
Join Date: May 2020
Location: Brazil
Posts: 124
Reputation: 1
Default Re: Run time error 19: "File or function is not found"

muda o OnFilterScriptInit e o OnFilterScriptExit para OnGameModeInit e OnGameModeExit
__________________
Hazard is online now   Reply With Quote
Old 03/07/2020, 05:43 PM   #26
Anonymous637
Big Clucker
 
Join Date: Jan 2019
Posts: 119
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Quote:
Originally Posted by Hazard View Post
muda o OnFilterScriptInit e o OnFilterScriptExit para OnGameModeInit e OnGameModeExit
Continua com o meso erro
Anonymous637 is offline   Reply With Quote
Old 03/07/2020, 05:53 PM   #27
Anonymous637
Big Clucker
 
Join Date: Jan 2019
Posts: 119
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Eu percebi que a gm está definida como um FS; e se eu apagar o #if defined FILTERSCRIPT aparece vários erros.
acho que resolvendo eles, soluciona o problema.


Quote:
#include <a_samp>
#include <streamer>
#include <zcmd>
#include <cpstream>
#include <sscanf>
#if defined FILTERSCRIPT
#define COLOR_GREY
#if defined Pickup
#define PASTA_CONTAS "Contas/%s.ini"
#define DIALOG_BANCO 1
#define DIALOG_BANCO_SALDO 2
#define DIALOG_BANCO_SAQUE 3
#define DIALOG_BANCO_DEPOSITO 4
#define DIALOG_MENU_AGENCIAEMPREGOS 5
#define DIALOG_MENU_AGENCIAEMPREGOS_HONESTAS 6
#define DIALOG_MENU_AGENCIAEMPREGOS_TRANSPORTES 7
#define DIALOG_MENU_AGENCIAEMPREGOS_GOVERNO 8
#define DIALOG_MENU_AGENCIAEMPREGOS_POLICIA 9
#define DIALOG_MENU_AGENCIAEMPREGOS_FORCASARMADAS 10
#define DIALOG_MENU_AGENCIAEMPREGOS_MAFIA 11

erros:

Quote:
JMS.pwn(23) : error 021: symbol already defined: "PickUpBANCOENTRADA"
JMS.pwn(31) : error 021: symbol already defined: "MenuAgenciaEmpregos"
JMS.pwn(53) : error 017: undefined symbol "Pickup"
JMS.pwn(53) : error 017: undefined symbol "PickUpBANCOENTRADA"
JMS.pwn(54) : error 017: undefined symbol "Pickup"
JMS.pwn(54) : error 017: undefined symbol "PickUpBANCOSAIDA"
JMS.pwn(55) : error 017: undefined symbol "Pickup"
JMS.pwn(55) : error 017: undefined symbol "PickUpAGENCIAEMPREGOSENTRADA"
JMS.pwn(56) : error 017: undefined symbol "Pickup"
JMS.pwn(56) : error 017: undefined symbol "PickUpAGENCIAEMPREGOSSAIDA"
JMS.pwn(72) : error 017: undefined symbol "Checkpoint"
JMS.pwn(72) : error 017: undefined symbol "MenuAgenciaEmpregos"
JMS.pwn(916) : warning 217: loose indentation
JMS.pwn(91 : error 017: undefined symbol "DOF2_FileExists"
JMS.pwn(919) : error 017: undefined symbol "DOF2_CreateFile"
JMS.pwn(920) : error 017: undefined symbol "DOF2_SetInt"
JMS.pwn(922) : error 017: undefined symbol "DOF2_SaveFile"
JMS.pwn(976) : error 017: undefined symbol "Checkpoint"
JMS.pwn(976) : error 017: undefined symbol "MenuAgenciaEmpregos"
JMS.pwn(976) : error 029: invalid expression, assumed zero
JMS.pwn(976) : fatal error 107: too many error messages on one line

linhas:

Quote:
enum pPick {
erro: PickUpBANCOENTRADA,
PickUpBANCOSAIDA,
PickUpAGENCIAEMPREGOSENTRADA,
PickUpAGENCIAEMPREGOSSAIDA
};
Quote:
enum pCheck {
MenuAgenciaEmpregos
erro: };
Quote:
public OnGameModeInit()
{

DisableInteriorEnterExits();

erro:Pickup[PickUpBANCOENTRADA] = CreatePickup(1274, 1, 592.8407,-1248.2235,18.1530, -1); //Entrada Banco
erro:Pickup[PickUpBANCOSAIDA] = CreatePickup(1239, 1, 2305.5181,-16.1052,26.7496, -1); //Saida Banco
erro:Pickup[PickUpAGENCIAEMPREGOSENTRADA] = CreatePickup(1314, 1, 1153.9910,-1771.7023,16.5992, -1);
//Entrada Agência de Empregos
erro:Pickup[PickUpAGENCIAEMPREGOSSAIDA] = CreatePickup(1239, 1, 1494.3116,1303.6232,1093.2891, -1);
//Saida Agência de Empregos
CreatePickup(1274, 1, 2310.6931,-8.3859,26.7422, -1); //Menu Banco
CreatePickup(1274, 1, 1929.4681,-1785.3741,13.5469, -1); //Caixas Eletronicos
CreatePickup(1274, 1, 2123.1787,897.4747,11.1797, -1); //Caixas Eletronicos
CreatePickup(1274, 1, 2188.4717,2464.3057,11.2422, -1); //Caixas Eletronicos



Quote:
erro:
Checkpoint[MenuAgenciaEmpregos] = CPS_AddCheckpoint(1491.9850,1306.1581,1093.2964, 1.5, 30); //Checkpoint do Menu da Agência de Empregos

Quote:
public OnPlayerSpawn(playerid)
{
new aname[MAX_PLAYER_NAME], file[80];
erro: GetPlayerName(playerid, aname, sizeof(aname));
format(file, sizeof(file), PASTA_CONTAS, aname);
erro: if(!DOF2_FileExists(file)) {
erro: DOF2_CreateFile(file);
erro: DOF2_SetInt(file, "Saldo", 500);
GivePlayerMoney(playerid, 300);
erro: DOF2_SaveFile();
}

Quote:
public OnPlayerEnterCheckpoint(playerid)
{
new checkid = CPS_GetPlayerCheckpoint(playerid);
erro: if(checkid == Checkpoint[MenuAgenciaEmpregos]) {
SendClientMessage(playerid, -1, "{007979}~~~~~~~~~~~~~~~~~~~~~~~~~ Agência de Empregos ~~~~~~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(playerid, -1, "» Bem vindo(a) a Agência de empregos");
SendClientMessage(playerid, -1, "» /Profs ou /Profissoes - Para ver o menu de profissoes");
SendClientMessage(playerid, -1, "{007979}~~~~~~~~~~~~~~~~~~~~~~~~~ Agência de Empregos ~~~~~~~~~~~~~~~~~~~~~~~~~");
return 1;
}
Anonymous637 is offline   Reply With Quote
Old 03/07/2020, 05:56 PM   #28
Anonymous637
Big Clucker
 
Join Date: Jan 2019
Posts: 119
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Coloquei isso no inicio da gm: #if defined PickUpBANCOENTRADA e por incrivel que pareça resolveu todos os erros
O ERRO AINDA CONTINUA

Last edited by Anonymous637; 03/07/2020 at 05:57 PM. Reason: edit
Anonymous637 is offline   Reply With Quote
Old 13/07/2020, 11:55 AM   #29
Anonymous637
Big Clucker
 
Join Date: Jan 2019
Posts: 119
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Alguém ajuda?continuo com o erro
Anonymous637 is offline   Reply With Quote
Old 14/07/2020, 09:56 PM   #30
Anonymous637
Big Clucker
 
Join Date: Jan 2019
Posts: 119
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Pessoal alguém me ajuda, já tentei de tudo e não consigo resolver esse problema
Anonymous637 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Script[gamemodes/SA-MP.amx]: Run time error 19: "File or function is not found" ThuuGLif3 Português/Portuguese 9 11/01/2017 06:42 PM
[Ajuda] Ajuda - "Run time error 19: "File or function is not Found" UserUnk0wn Português/Portuguese 6 04/01/2017 12:46 PM
Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found" Devon007 Scripting Help 6 16/05/2015 04:06 PM
"Run time error 19: "File or function is not found" TouR Help Archive 2 18/06/2010 10:04 AM


All times are GMT. The time now is 03:06 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.