Jump to content

SeNaToRuL.

Membru
  • Posts

    32
  • Joined

  • Last visited

Posts posted by SeNaToRuL.

  1. Salut utilizez gamemode burned si cand dau /specoff imi da respawn.. dar eu vreau sa ma teleporteze in ultima locatie..

    Comanda:

    YCMD:specoff(playerid, params[], help) {
        if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 2) return SCM(playerid, COLOR_WHITE, AdminOnly);
        if(Spectate[playerid] == 255) return true;
        TogglePlayerControllable(playerid, 1);
        TogglePlayerSpectating(playerid, 0);
        SetPlayerInterior(playerid,Unspec[playerid][sPint]);
        PlayerInfo[playerid][pInt] = Unspec[playerid][sPint];
        PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal];
        Unspec[playerid][sLocal] = 255;
        gTeam[playerid] = PlayerInfo[playerid][pTeam];
        SetPlayerToTeamColor(playerid);
        SCM(playerid, -1, "Nu mai esti spectator!");
        //SpawnPlayer(playerid);
        Iter_Remove(MySpec[Spectate[playerid]], playerid);
        Spectate[playerid] = 255;
        SpecPlayers[playerid] = 0;
        LastRecon[playerid] = 1;
        PlayerTextDrawHide(playerid, SpectatorTD);
        return true;
    }

  2. Salut utilizez gamemode burned si cand dau /specoff imi da respawn.. dar eu vreau sa ma teleporteze in ultima locatie..

    Comanda:

    YCMD:specoff(playerid, params[], help) {
        if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 2) return SCM(playerid, COLOR_WHITE, AdminOnly);
        if(Spectate[playerid] == 255) return true;
        TogglePlayerControllable(playerid, 1);
        TogglePlayerSpectating(playerid, 0);
        SetPlayerInterior(playerid,Unspec[playerid][sPint]);
        PlayerInfo[playerid][pInt] = Unspec[playerid][sPint];
        PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal];
        Unspec[playerid][sLocal] = 255;
        gTeam[playerid] = PlayerInfo[playerid][pTeam];
        SetPlayerToTeamColor(playerid);
        SCM(playerid, -1, "Nu mai esti spectator!");
        //SpawnPlayer(playerid);
        Iter_Remove(MySpec[Spectate[playerid]], playerid);
        Spectate[playerid] = 255;
        SpecPlayers[playerid] = 0;
        LastRecon[playerid] = 1;
        PlayerTextDrawHide(playerid, SpectatorTD);
        return true;
    }

  3. Acum 1 oră, ELK a spus:

    Ai un bug la panel. Cand esti logat si dai pe "my profile" iti da automat logout. Daca nu esti logat si iti accesezi profilul merge, care ar fi problema?

    Ii din header, cauta:

    <li class="user-footer">
                            <div class="pull-left">
                                <a href="<?php echo Config::$_PAGE_URL; ?>logout<?php echo Config::getData('users','name',$_SESSION['user']); ?>" class="btn bg-black  btn-zoom">Profile</a>

     

    si modifica cu 

    <li class="user-footer">
                            <div class="pull-left">
                                <a href="<?php echo Config::$_PAGE_URL; ?>profile/<?php echo Config::getData('users','name',$_SESSION['user']); ?>" class="btn bg-black  btn-zoom">Profile</a>

  4. La 30.10.2018 la 19:40, Rh[Y]dian Tuber a spus:
    
    }
            if(Gas[vehicleid] == 0) {
                TogglePlayerControllable(playerid, 0);
                NoFuel[playerid] = 1;
    	

     

    oare de aici e problema?

    Cauta function checkgas  

    iar la if(IsAPlane(vehicle) || IsABoat(vehicle) || IsABike2(vehicle) || ExamCar == vehicle || JobVehicle == vehicle) { Gas[vehicle]++; }

    Stergi IsABike2(vehicle) || 

    if(IsAPlane(vehicle) || IsABoat(vehicle) || ExamCar == vehicle || JobVehicle == vehicle) { Gas[vehicle]++; }

     

  5. Acum 18 ore, xImAndrew a spus:

    Ma ajuta si pe mine cineva sa instalez ? Am urcat gm dar cand intru pe joc si ma intregistrez pun parola apoi la login imi spune ca nu e corecta

    La SERVER_HOSTSTATUS daca ii pe host pui new SERVER_HOSTSTATUS = NORMAL; 

    Iar daca ii pe localhost pui SERVER_HOSTSTATUS = LOCALHOST;

     

    La mysql_connect

     

        if(SERVER_HOSTSTATUS == 1) SQL = mysql_connect("ip", "Nume cont phpmyadmin", "nume baza de date", "Parola"), print("Server: hosted");  \\ Daca ii pe host.
        else SQL = mysql_connect("localhost", "root", "nume baza de date", "parola"), print("Server: localhost");        \\ Daca ii in localhost.

  6. Acum 10 ore, Msagamer a spus:

    Wtf imi dadea unknown la gamemode gen pornea sv imi dadea alea de sus in server_log si nu imi dadeam seama de ce am pus baza iar gen aia default care vine in fisier-ul cu gamemode gen si dupa mers a pornit fara errori in server_log numai dadea unknown toate bune si frumoase acu vreau sa inteleg de ce ca eu am un server si nu pot trai cu frica ca mi se fute serveru dupa restart

     

    Pune Pluginurile astea https://www110.zippyshare.com/v/2poYBByg/file.html

    In server.cfg la plugins adaugi crashdetect sscanf mysql streamer (daca ii in localhost) sau crashdetect.so sscanf.so mysql.so streamer.so (daca ii pe host). 

    Dai recompile si done.

  7. Salut cand vreau sa pornesc serverul imi da

     

    22:58:19] [debug] Server crashed due to an unknown error [22:58:19] [debug] Native backtrace: [22:58:19] [debug] #0 b7403e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [22:58:19] [debug] #1 b73fcbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [22:58:19] [debug] #2 b73fddbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [22:58:19] [debug] #3 b73fe226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [22:58:19] [debug] #4 b7403adc in ?? () from plugins/crashdetect.so [22:58:19] [debug] #5 b771a600 in ?? () [22:58:19] [debug] #6 b771a420 in ?? () [22:58:19] [debug] #7 b7451781 in gsignal () from /lib/libc.so.6 [22:58:19] [debug] #8 b745305a in abort () from /lib/libc.so.6 [22:58:19] [debug] #9 b744aa4b in ?? () from /lib/libc.so.6 [22:58:19] [debug] #10 b744ab06 in ?? () from /lib/libc.so.6 [22:58:19] [debug] #11 08098558 in ?? () from ./samp03svr [22:58:19] [debug] #12 080d60e1 in ?? () from ./samp03svr [22:58:19] [debug] #13 080a4f0b in ?? () from ./samp03svr [22:58:19] [debug] #14 080ab922 in ?? () from ./samp03svr [22:58:19] [debug] #15 080aa0fd in ?? () from ./samp03svr [22:58:19] [debug] #16 b743dd26 in __libc_start_main () from /lib/libc.so.6 [22:58:19] [debug] #17 0804b4e1 in ?? () from ./samp03svr

  8. Salut am o problema cu LoadSafes(); 

    cand dau drumu la server imi da 

    [23:28:49] [debug] Run time error 4: "Array index out of bounds"
    [23:28:49] [debug]  Attempted to read/write array element at index 14 in array of size 14
    [23:28:49] [debug] AMX backtrace:
    [23:28:49] [debug] #0 0028b894 in ?? (14) from b-hood.amx
    [23:28:49] [debug] #1 0026e314 in public LoadSafes () from b-hood.amx
    [23:28:49] [debug] #2 00099444 in ?? () from b-hood.amx
    [23:28:49] [debug] #3 0001f0a8 in public L_AFK_OnGM () from b-hood.amx
    [23:28:49] [debug] #4 native CallLocalFunction () from samp-server.exe
    [23:28:49] [debug] #5 00012f34 in public zcmd_OnGameModeInit () from b-hood.amx
    [23:28:49] [debug] #6 native CallLocalFunction () from samp-server.exe
    [23:28:49] [debug] #7 00012a7c in public SSCANF_OnGameModeInit () from b-hood.amx
    [23:28:49] [debug] #8 0000cde4 in public Itter_OnGameModeInit () from b-hood.amx
    [23:28:49] [debug] #9 native CallLocalFunction () from samp-server.exe
    [23:28:49] [debug] #10 0000c0a0 in public ScriptInit_OnGameModeInit () from b-hood.amx
    [23:28:50] [debug] #11 0000b024 in public PZone_OnGameModeInit () from b-hood.amx
    [23:28:50] [debug] #12 native CallLocalFunction () from samp-server.exe
    [23:28:50] [debug] #13 00000c88 in public OnGameModeInit () from b-hood.amx
    [23:28:50] Number of vehicle models: 60
    [23:28:50] [MySQL] Dealership models: 95

  9. Chiar acum, ASGOOD a spus:

    @SeNaToRuL. incearca asta:

    
    CMD:vre(playerid, params[]) {
        new vid, string[128]; 
        if(PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid, -1, AdminOnly);
        if(IsPlayerInAnyVehicle(playerid))
        {
            format(string, sizeof(string), "AdmCMD: %s has respawned vehicle %d", GetName(playerid),  GetPlayerVehicleID(playerid));
            SendAdminMessage(COLOR_LIGHTRED, string, 1);
            SetVehicleToRespawn(GetPlayerVehicleID(playerid));
        }
        else 
        {
            if(sscanf(params, "i", vid))return SCM(playerid, -1, "/vre <Vehicle ID>");
            {
                format(string, sizeof(string), "AdmCMD: %s has respawned vehicle %d", GetName(playerid), vid);
                SendAdminMessage(COLOR_LIGHTRED, string, 1);
                SetVehicleToRespawn(vid);
            }
        }
        return 1;
    }

     

    Mult mai ok mersi mult.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.