[Ajuda] Fs nгo carregado.
#1

Bom dia, estou quebrando a cabeзa aqui, adicionei uns maps de parkour.. mas parece depois dessa alteraзгo o FS de adm "ladm" ficou inativo ele carrega no log porйm nгo carrega no servidor

adicionei os seguintes:
pawn Код:
if(strcmp(cmdtext, "/trackmania", true) == 0 || strcmp(cmdtext, "/trcm", true) == 0 ) {
        if(!IsPlayerSpawned(playerid)){return 1;}
        if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
        new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "%s  foi Para Trackmania{FF9000}( /Trackmania )", pname);
        SendClientMessageToAll(-1, string);
        SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
        SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
        SetPlayerPos(playerid,-5699.4355,2783.8037,9.3207);SetCameraBehindPlayer(playerid);
        SetPlayerFacingAngle(playerid,277.7560);}
        SetCameraBehindPlayer(playerid);
        ProgramarAntiFlood(playerid);
        return 1;}

    if(strcmp(cmdtext, "/pnrg", true) == 0 || strcmp(cmdtext, "/parkournrg", true) == 0 ) {
        if(!IsPlayerSpawned(playerid)){return 1;}
        if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
        new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "%s  foi Para Parkour NRG-500{FF9000}( /pnrg )", pname);
        SendClientMessageToAll(-1, string);
        SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
        SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
        SetPlayerPos(playerid,-2245.6714,-1718.3846,480.3323);SetCameraBehindPlayer(playerid);
        SetPlayerFacingAngle(playerid,277.7560);}
        SetCameraBehindPlayer(playerid);
        ProgramarAntiFlood(playerid);
        return 1;}

    if(strcmp(cmdtext, "/pkr1", true) == 0 || strcmp(cmdtext, "/parkour1", true) == 0 ) {
        if(!IsPlayerSpawned(playerid)){return 1;}
        if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
        new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "%s  foi Para Parkour Ls 1{FF9000}( /pkr1 )", pname);
        SendClientMessageToAll(-1, string);
        SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
        SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
        SetPlayerPos(playerid,1531.47973600,-1359.22656300,328.45034800);SetCameraBehindPlayer(playerid);
        SetPlayerFacingAngle(playerid,277.7560);}
        SetCameraBehindPlayer(playerid);
        ProgramarAntiFlood(playerid);
        return 1;}

        if(strcmp(cmd, "/pkr2", true) == 0 || strcmp(cmd, "/parkour2", true) == 0 ) {
        if(!IsPlayerSpawned(playerid)){return 1;}
        if(EventoProibirTele == true && NoEvento[playerid] == 1 && EventoAtivo == 1) return SendClientMessage(playerid, COLOUR_ERRO, StringTable[3]);
        if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
        new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "%s  foi Para Parkour Ls 2{FF9000}( /pkr2 )", pname);
        SendClientMessageToAll(-1, string);
        SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
        SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
        SetPlayerPos(playerid,1675.8073,-1344.2089,158.4766);SetCameraBehindPlayer(playerid);
        SetPlayerFacingAngle(playerid,277.7560);}
        SetCameraBehindPlayer(playerid);
        ProgramarAntiFlood(playerid);
        return 1;}

    if(strcmp(cmd, "/pkr3", true) == 0 || strcmp(cmd, "/parkour3", true) == 0 ) {
        if(!IsPlayerSpawned(playerid)){return 1;}
        if(EventoProibirTele == true && NoEvento[playerid] == 1 && EventoAtivo == 1) return SendClientMessage(playerid, COLOUR_ERRO, StringTable[3]);
        if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
        new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "%s  foi Para Parkour Ls 3{FF9000}( /pkr3 )", pname);
        SendClientMessageToAll(-1, string);
        SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
        SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
        SetPlayerPos(playerid, 3238.1104,-1383.9398,11.2266);SetCameraBehindPlayer(playerid);
        SetPlayerFacingAngle(playerid,277.7560);}
        SetCameraBehindPlayer(playerid);
        ProgramarAntiFlood(playerid);
        return 1;}
    if(strcmp(cmd, "/pkr4", true) == 0 || strcmp(cmd, "/parkour4", true) == 0 ) {
        if(!IsPlayerSpawned(playerid)){return 1;}
        if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
        new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "%s  foi Para Parkour LS 4{FF9000}( /pkr4 )", pname);
        SendClientMessageToAll(-1, string);
        SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
        SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
        SetPlayerPos(playerid, 1172.6533,-2063.4160,432.7214);SetCameraBehindPlayer(playerid);
        SetPlayerFacingAngle(playerid,277.7560);}
        SetCameraBehindPlayer(playerid);
        ProgramarAntiFlood(playerid);
        return 1;}
Atй ai tudo bem, mas nгo executa nenhum comando do ladmin (FS DE ADM)
Reply
#2

Tente colocar o LAdmin como primeiro Filterscript a ser carregado, o servidor carrega na ordem em que estб no server.cfg, as vezes podem ocorrer falhas
Reply
#3

Oi Funeral, o problema й que ele carrega mas in-game nгo carrega..
Reply
#4

Tenta carregar ele no rcon cara ...
Reply
#5

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
Tente colocar o LAdmin como primeiro Filterscript a ser carregado, o servidor carrega na ordem em que estб no server.cfg, as vezes podem ocorrer falhas
Jб tentei ele carregava mas nгo executava.
Creio que foi alguma alteraзгo que fiz, tinha um backup aqui e jб arrumei. Obrigado!
Quote:
Originally Posted by Layer
Посмотреть сообщение
Oi Funeral, o problema й que ele carrega mas in-game nгo carrega..
Isso mas arrumei jб obrigado.
Quote:
Originally Posted by SkullGamer
Посмотреть сообщение
Tenta carregar ele no rcon cara ...
Tinha tentado.



@Resolvido
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)