FS nгo carrega -
eNtinityGaming - 23.02.2014
https://sampforum.blast.hk/showthread.php?tid=466281
Esse FS /\ Nгo ta carregando no GM que estou fazendo do 0.
Ou seja no samp-server mostra que o filterscript carregou o amx dele, sу que n aparece as print(.... que o servidor foi ligado, e quando eu entro no server o fs nem funciona ou seja parece que n tem fs.
Ja coloquei os plugins streamer, ja puis no server.cfg a linha plugins streamer
e ja coloquei nos filterscript Veiculo e mesmo assim nada, as includes estгo certas, oq deve ser?
Sу lembrando que o sistema de clгs estб funcionando corretamente.
serverlog
pawn Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[22:08:35]
[22:08:35] Server Plugins
[22:08:35] --------------
[22:08:35] Loading plugin: streamer
[22:08:35]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[22:08:35] Loaded.
[22:08:35] Loaded 1 plugins.
[22:08:35]
[22:08:35] Filterscripts
[22:08:35] ---------------
[22:08:35] Loading filterscript 'maxips.amx'...
[22:08:35]
*** Player IP limiting FS (maxips) Loaded. Max connections from 1 IP = 3
[22:08:35] Loading filterscript 'Veiculo.amx'...
[22:08:35] Loading filterscript 'clas.amx'...
[22:08:35] Loaded 3 filterscripts.
[22:08:35]
----------------------------------
[22:08:35] Servidor do henrique FODA CHUPA DODY
[22:08:35] ----------------------------------
[22:08:35] Number of vehicle models: 0
Re: FS nгo carrega -
yNexus - 23.02.2014
Posta o inicio do FS sу pra mim ver uma coisa .
Re: FS nгo carrega -
eNtinityGaming - 23.02.2014
pawn Код:
/* -------------------------------------------------------------------
FilterScript Sistema de veнculo prуprio criado por Maklister
Arquivos necessбrios:
includes a_samp, sscanf2, DOF2, zcmd, streamer
Plugins streamer.dll ( Windows ) - streamer.so ( Linux )
Pasta SeuServidor\scriptfiles\Carros
Crйditos:
Maklister: Criaзгo do cуdigo e desenvolvimento
SAMP Team, Zeex, Double o seven, ******
----------------------------------------------------------------------- */
// --------[ Includes ]-----------
#include < a_samp >
#include < sscanf2 >
#include < streamer >
#include < zcmd >
#include < DOF2 >
// --------[ Defines ] -----------
#define MAX_CARROS 100
#define DIALOG_CMDSET 101
#define AMARELO 0xE8E800AA
#define VERDE_CLARO 0x00FF00AA
#define VERMELHO_ESCURO 0xFC0000FF
#if defined MAX_PLAYERS
#undef MAX_PLAYERS
#define MAX_PLAYERS 100
#endif
// --------[ New's ] ------------
new
SetProprio = 0,
Set[MAX_CARROS],
Text3D:Textcarro[MAX_CARROS],
GPSTimerCar[MAX_PLAYERS],
Text:LocalizarDistancia[MAX_PLAYERS],
Text:LocalizarLocalizacao[MAX_PLAYERS],
bool: NaoUsado[MAX_VEHICLES]
;
Se precisar de mais fala ae.
Inicio do meu GM:
pawn Код:
// Meu Servidor sendo criado do ZERO
#include <a_samp>
#include <zcmd>
main()
{
print("\n----------------------------------");
print(" Servidor do henrique FODA CHUPA DODY");
print("----------------------------------\n");
}
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("RPG Brasil");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
Re: FS nгo carrega -
yNexus - 23.02.2014
ve se contem essas 2 linas no fs
PHP код:
#define FILTERSCRIPT
#if defined FILTERSCRIPT
se nгo tiver, bote no comeзo do GM elas
e no final do GM bote
Re: FS nгo carrega -
eNtinityGaming - 23.02.2014
nгo adiantou
comeзo do fs
pawn Код:
/* -------------------------------------------------------------------
FilterScript Sistema de veнculo prуprio criado por Maklister
Arquivos necessбrios:
includes a_samp, sscanf2, DOF2, zcmd, streamer
Plugins streamer.dll ( Windows ) - streamer.so ( Linux )
Pasta SeuServidor\scriptfiles\Carros
Crйditos:
Maklister: Criaзгo do cуdigo e desenvolvimento
SAMP Team, Zeex, Double o seven, ******
----------------------------------------------------------------------- */
#define FILTERSCRIPT
#if defined FILTERSCRIPT
fim do fs
pawn Код:
/* ------------------------[ FIM DO SISTEMA ] --------------------------------*/
#endif
Re: FS nгo carrega -
eNtinityGaming - 23.02.2014
por favor alguem me ajuda
Re: FS nгo carrega -
RayksonCouto - 23.02.2014
pawn Код:
#define MAX_PLAYERS 100
#endif
tira o endif debaixo do #define MAX_PLAYERS 100
e poem na ultima linha do fs
nгo sei se e isso mais tenta
Re: FS nгo carrega -
DannielCooper - 23.02.2014
Nгo remove o define MAX_PLAYERS, e se fosse o #endif no final daria erro.
Tenta colocar o Filterscript dentro do GameMode.
Re: FS nгo carrega -
eNtinityGaming - 23.02.2014
Coloquei e deu run error 19 file is not found
Re: FS nгo carrega -
DannielCooper - 23.02.2014
Linha?