Jump to content

InceMan

Membru
  • Posts

    755
  • Joined

  • Last visited

  • Days Won

    42

Posts posted by InceMan

  1. Acum 16 ore, VAurel a spus:

    Salut, am si eu o problemuta.

    Am inceput sa fac un sistem de neon de la 0, ok nicio problema, in gm nicio erroare la compilari.

    Dar pe game, nu functioneaza comanda cand selectez un neon in changeneon, aveti codurile mai jos!

    Comanda /changeneon

    
    CMD:changeneon(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa te loghezi prima data.");
        if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid,COLOR_RED,"Nu esti intr-un vehicul.");
        new veh = GetPlayerVehicleID(playerid);
        if(OwnedVeh(veh) == -1) return Error(playerid, "Nu esti intr-un vehiculul personal care iti apartine.");
        new cct = OwnedVeh(veh);
        if(CarInfo[cct][cOwned] != PlayerInfo[playerid][pSQLID]) return Error(playerid, "Nu este vehiculul tau.");
        if(CarInfo[cct][cVip] == false) return Error(playerid, "Vehiculul in care te afli nu este unul VIP.");
        if(CarInfo[cct][cNeon] == 0) return Error(playerid, "Vehiculul in care te aflii nu detine System Neon!");
        {
            ShowPlayerDialog(playerid, DIALOG_CHANGENEON, DIALOG_STYLE_LIST, "Change Neon", "Neon -{FF0000} Rosu{FFFFFF}\nNeon -{0088FF} Albastru{FFFFFF}\n Neon -{167400} Verde{FFFFFF}", "Select", "Cancel");
        }
        return 1;
    }

    Dialog_Changeneon :

    
    case DIALOG_CHANGENEON: 
        {
            if(response)
            {
                new vid = GetPlayerVehicleID(playerid);
                if(listitem == 0)
                {
                    DestroyObject(neon1[vid]);
                    DestroyObject(neon2[vid]);
                    neon1[vid] = CreateObject(18647,0,0,0,0,0,0);
                    AttachObjectToVehicle(neon1[vid], vid,0.7999, 0.0599, -0.3000, 0.0199, 359.9200, 357.8800);
                    neon2[vid] = CreateObject(18647,0,0,0,0,0,0);
                    AttachObjectToVehicle(neon2[vid], vid,-0.7800, 0.0599, -0.3000, 0.0199, 359.9200, 357.8800);
                    SCMf(playerid, COLOR_WHITE, "{CD7F00}>>{FFFFFF} Neon actualizat! - {FF0000}Rosu{FFFFFF}");
                }
                if(listitem == 1)
                {
                    DestroyObject(neon1[vid]);
                    DestroyObject(neon2[vid]);
                    neon1[vid] = CreateObject(18647,0,0,0,0,0,0);
                    AttachObjectToVehicle(neon1[vid], vid,0.7999, 0.0599, -0.3000, 0.0199, 359.9200, 357.8800);
                    neon2[vid] = CreateObject(18647,0,0,0,0,0,0);
                    AttachObjectToVehicle(neon2[vid], vid,-0.7800, 0.0599, -0.3000, 0.0199, 359.9200, 357.8800);
                    SCMf(playerid, COLOR_WHITE, "{CD7F00}>>{FFFFFF} Neon actualizat! - {0088FF}Albastru{FFFFFF}");
                }
                if(listitem == 2)
                {
                    DestroyObject(neon1[vid]);
                    DestroyObject(neon2[vid]);
                    neon1[vid] = CreateObject(18647,0,0,0,0,0,0);
                    AttachObjectToVehicle(neon1[vid], vid,0.7999, 0.0599, -0.3000, 0.0199, 359.9200, 357.8800);
                    neon2[vid] = CreateObject(18647,0,0,0,0,0,0);
                    AttachObjectToVehicle(neon2[vid], vid,-0.7800, 0.0599, -0.3000, 0.0199, 359.9200, 357.8800);
                    SCMf(playerid, COLOR_WHITE, "{CD7F00}>>{FFFFFF} Neon actualizat! - {167400}Verde{FFFFFF}");
                }
            }
        }

     

    			AttachDynamicObjectToVehicle(neon1[0][vid], vid, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    			AttachDynamicObjectToVehicle(neon2[1][vd], vid, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);

    salut este bine sa te folosesti si de functia AttachDynamicObjectToVehicle

  2. Acum 56 minute, TheKingDuna a spus:

    nu reusesc sa ii dau de cap ! cand dau sa fac o aplicatie la o factiune pe panel imi apare asa :
    Whoops, looks like something went wrong.

    link panel sa vedeti despre ce este vorba : goodzone.ro/panel !
    La unele functi imi apare Whoops, looks like something went wrong. si nu ii dau de cap nu stiu ce sa fac
    ex de bug uri : la Aplicatii 
    unele de la general si multe altele!
    cont de test B@ToN
    pass : test

    salut ai spus ca ai editat tot in legatura cu 

    if(@socket_connect($socket, '193.203.39.215', '7778'))

    si la unele fisiere mai ai de editat si 

    mysql_connect("193.203.39.73","linkmania_panel","tF2gEfEZGsVkgVME");@mysql_select_db("linkmania215") 

    deci ai de treaba nu are rost sa mai faci topic cu subiecte noi daca nu ai terminat de configurat panelul

  3. Acum 11 minute, TheKingDuna a spus:

    index.php l am lasat cum era 

    <?php

    /**
     * Laravel - A PHP Framework For Web Artisans
     *
     * @package  Laravel
     * @author   Taylor Otwell <[email protected]>
     */

    /*
    |--------------------------------------------------------------------------
    | Register The Auto Loader
    |--------------------------------------------------------------------------
    |
    | Composer provides a convenient, automatically generated class loader for
    | our application. We just need to utilize it! We'll simply require it
    | into the script here so that we don't have to worry about manual
    | loading any of our classes later on. It feels nice to relax.
    |
    */

    require __DIR__.'/../panel/bootstrap/autoload.php';

    /*
    |--------------------------------------------------------------------------
    | Turn On The Lights
    |--------------------------------------------------------------------------
    |
    | We need to illuminate PHP development, so let us turn on the lights.
    | This bootstraps the framework and gets it ready for use, then it
    | will load up this application so that we can run it and send
    | the responses back to the browser and delight our users.
    |
    */

    $app = require_once __DIR__.'/../panel/bootstrap/app.php';

    /*
    |--------------------------------------------------------------------------
    | Run The Application
    |--------------------------------------------------------------------------
    |
    | Once we have the application, we can handle the incoming request
    | through the kernel, and send the associated response back to
    | the client's browser allowing them to enjoy the creative
    | and wonderful application we have prepared for them.
    |
    */

    $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);$response = $kernel->handle($request = Illuminate\Http\Request::capture());$response->send();$kernel->terminate($request, $response);
     

    incearca asa 

    <?php
    
    /**
     * Laravel - A PHP Framework For Web Artisans
     *
     * @package  Laravel
     * @author   Taylor Otwell <[email protected]>
     */
    
    /*
    |--------------------------------------------------------------------------
    | Register The Auto Loader
    |--------------------------------------------------------------------------
    |
    | Composer provides a convenient, automatically generated class loader for
    | our application. We just need to utilize it! We'll simply require it
    | into the script here so that we don't have to worry about manual
    | loading any of our classes later on. It feels nice to relax.
    |
    */
    
    require __DIR__.'/../../panel/bootstrap/autoload.php';
    
    /*
    |--------------------------------------------------------------------------
    | Turn On The Lights
    |--------------------------------------------------------------------------
    |
    | We need to illuminate PHP development, so let us turn on the lights.
    | This bootstraps the framework and gets it ready for use, then it
    | will load up this application so that we can run it and send
    | the responses back to the browser and delight our users.
    |
    */
    
    $app = require_once __DIR__.'/../../panel/bootstrap/app.php';
    
    /*
    |--------------------------------------------------------------------------
    | Run The Application
    |--------------------------------------------------------------------------
    |
    | Once we have the application, we can handle the incoming request
    | through the kernel, and send the associated response back to
    | the client's browser allowing them to enjoy the creative
    | and wonderful application we have prepared for them.
    |
    */
    
    $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);$response = $kernel->handle($request = Illuminate\Http\Request::capture());$response->send();$kernel->terminate($request, $response);

     

  4. salut ai scris ceva gresit in cofig.inc.php

    C:\Users\morun\Desktop\gamemode-ul meu\gamemode GTA-SAMP\gamemodes\Config.inc.php(35) : error 017: undefined symbol "rror_log"
    C:\Users\morun\Desktop\gamemode-ul meu\gamemode GTA-SAMP\gamemodes\Config.inc.php(35) : error 017: undefined symbol "rror_log"
    C:\Users\morun\Desktop\gamemode-ul meu\gamemode GTA-SAMP\gamemodes\Config.inc.php(36) : error 021: symbol already defined: "die"

  5. cum am mai spus  si mai sus in fila in.inc aveti asta 

     if(is_socket_valid(gSocket)) socket_set_max_connections(gSocket, MAX_PLAYERS), socket_bind(gSocket, "193.203.39.215"), socket_listen(gSocket, 7778);

    iar in diferite categorii din panel ai alta conecsiune de  ip de configurare cu baza de date  spre exemplu

    uitate la fila asta E:\Panel - LinkMania\app\Http\Controllers     si cauta

    if(@socket_connect($socket, '193.203.39.215', '7778'))

     

    • Upvote 1
  6. Acum 7 ore, -=[Vyorel]=- a spus:

    Revin cu o alta problema. Am incercat eu sa copiez un articol si problema e ca trebuie sa fiu logat in cont pe wiki.sa-mp.com ca sa pot vedea sursa articolului. Asta ar insemna ca va fi de munca la fiecare articol ca sa-l facem sa arate asa cum trebuie (la cod, citat, chenarul de avertisment, etc).

    Singura varianta, usoara pentru noi toti si dupa parerea mea mult mai buna, ar fi sa-l facem direct din forum. Inca lucram la asta. Am testat, si chiar pur si simplu selectezi tot textul din toata pagina si daca-l copiezi preia si imaginile si formatul si tot. Deci e mult mai simplu. Nu vor avea acces toti la editat si adaugat articole acolo. O sa facem un rank nou.

    Cam asa arata pagina facuta direct din forum.

    Screenshot_2020-10-06 AddStaticVehicle.png

    ma bucur ca inca se gasesc soluti, ideia este sa o facem cat mai repede pana nu dispare si archiva salvata de la cei de la http://web.archive.org

  7. Salut, problema asta am mai intalnit si eu  dar problema este si de la host finca gm este facut acu 5 ani  si a mers pana in vara  dar are o versiune mai veche  fata de acum  ce este pe piata .
     spre exemplu cei de la hostclub  are hostul centOS7 64 bit, sens in care este necesar sa utilizezi un plugins pentru copilare pentru CentOS7.
    exemplu alte pluginuri (de exemplu pentru debian ) nu functioneaza in parametrii.

     

    • Like 1
×
×
  • 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.