abre o lsbr.pwn
passo 2
procure por #define ML
http://prntscr.com/imrgut
passo 3
Altere RCP,PP,PI,ML(ML é obrigatório mudar todo mês, Exemplo: se for Mês 03 coloca #define ML 3, se for Mês 04 coloca 4
http://prntscr.com/imrhwt
passo 4
Compile-o
passo 5
Abra o server.cfg
passo 6
Altere o bind, rcon, porta, Para o mesmo que você colocou no pawno (RCP=Rcon Password, PP=Porta, PI= IP)
http://prntscr.com/imrilm
No meu caso vai ficar assim:
http://prntscr.com/imrjer
passo 7
Salve o server.cfg
Passo 8
Abra o LSBR.exe e Divirta-se.
------------------------------------LEIA É IMPORTANTE CASO SERVER NÂO LIGUE------------------------------
Acontece isso?
- Código:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[04/03/2018 15:22:23]
[04/03/2018 15:22:23] Server Plugins
[04/03/2018 15:22:23] --------------
[04/03/2018 15:22:23] Loading plugin: crashdetect
[04/03/2018 15:22:23] CrashDetect v4.15.1 is OK.
[04/03/2018 15:22:23] Loaded.
[04/03/2018 15:22:23] Loading plugin: streamer
[04/03/2018 15:22:40]
*** Streamer Plugin v2.9.1 by Incognito loaded ***
[04/03/2018 15:22:40] Loaded.
[04/03/2018 15:22:40] Loading plugin: sscanf
[04/03/2018 15:22:40]
[04/03/2018 15:22:40] ===============================
[04/03/2018 15:22:40] sscanf plugin loaded.
[04/03/2018 15:22:40] Version: 2.8.1
[04/03/2018 15:22:40] (c) 2012 Alex "Y_Less" Cole
[04/03/2018 15:22:40] ===============================
[04/03/2018 15:22:40] Loaded.
[04/03/2018 15:22:40] Loaded 3 plugins.
[04/03/2018 15:22:40]
[04/03/2018 15:22:40] Ban list
[04/03/2018 15:22:40] --------
[04/03/2018 15:22:40] Loaded: samp.ban
[04/03/2018 15:22:40]
[04/03/2018 15:22:40]
[04/03/2018 15:22:40] Filterscripts
[04/03/2018 15:22:40] ---------------
[04/03/2018 15:22:40] Loading filterscript 'portao.amx'...
[04/03/2018 15:22:44] Loaded 1 filterscripts.
[04/03/2018 15:22:44] **************************************
[04/03/2018 15:22:44] * LOS SANTOS BRASILEIRA RPG *
[04/03/2018 15:22:44] *ºººººººººººººººººººººººººººººººººººº*
[04/03/2018 15:22:44] * RPG versão 5.1 *
[04/03/2018 15:22:44] * Los Santos *
[04/03/2018 15:22:44] *------------------------------------*
[04/03/2018 15:22:44] * Servidor Ligado. *
[04/03/2018 15:22:44] **************************************
[04/03/2018 15:22:44]
[04/03/2018 15:22:44] Number of vehicle models: 0
[04/03/2018 15:22:44] --- Server Shutting Down.
[04/03/2018 15:22:45]
=================================================================
[04/03/2018 15:22:45] Servidor Desligado: [04/03/2018 15:22:45]
[04/03/2018 15:22:45] =================================================================
[04/03/2018 15:22:45]
*** Streamer Plugin v2.9.1 by Incognito unloaded ***
[04/03/2018 15:22:45]
[04/03/2018 15:22:45] ===============================
[04/03/2018 15:22:45] sscanf plugin unloaded.
[04/03/2018 15:22:45] ===============================
Facil corrigir...
Remova isso do LSBR.pwn
- Código:
new Data[3];
getdate(Data[0], Data[1], Data[2]); if(Data[1] != ML) { SendRconCommand("exit"); return true; }
new SERVER_RCON[16]; GetServerVarAsString("rcon_password", SERVER_RCON, sizeof SERVER_RCON); if(strcmp(SERVER_RCON,RCP)) { SendRconCommand("exit"); return true; }
new SERVER_PORT = GetServerVarAsInt("port"); if(SERVER_PORT != PP) { SendRconCommand("exit"); return true; }
new SERVER_IP[16]; GetServerVarAsString("bind", SERVER_IP, sizeof SERVER_IP); if(strcmp(SERVER_IP,PI) || !strlen(SERVER_IP)) { SendRconCommand("exit"); return true; }
LINHAS:
http://prntscr.com/imrkws
Como Vai Ficar Ao Ligar:
Última edição por вrυทσ_sτyℓє em Dom 4 Mar 2018 - 16:02, editado 2 vez(es)