[Ajuda] FS nгo carrega
#1

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
Reply
#2

Posta o inicio do FS sу pra mim ver uma coisa .
Reply
#3

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;
}
Reply
#4

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

PHP код:
#endif 
Reply
#5

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
Reply
#6

por favor alguem me ajuda
Reply
#7

pawn Код:
#define MAX_PLAYERS 100
#endif
tira o endif debaixo do #define MAX_PLAYERS 100
e poem na ultima linha do fs
pawn Код:
#endif
nгo sei se e isso mais tenta
Reply
#8

Nгo remove o define MAX_PLAYERS, e se fosse o #endif no final daria erro.

Tenta colocar o Filterscript dentro do GameMode.
Reply
#9

Coloquei e deu run error 19 file is not found
Reply
#10

Linha?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)