Jump to content

AndreiADD

Membru
  • Posts

    24
  • Joined

  • Last visited

Posts posted by AndreiADD

  1. Acum 9 minute, PawnFox a spus:

    Ne arati si noua comanda sau codul prin care ar fi trebuit sa salveze 'tuning-ul'. Nu avem cum sa te ajutam daca nu ne arati codul.

    CMD:park(playerid, params[])
    {
        new string[128], idd;
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Nu esti intr-un vehicul!");
        new car = GetPlayerVehicleID(playerid);
        if(PersonalCar(playerid) == -1) return SCM(playerid, COLOR_LGREEN, "* Nu esti in unul dintre vehiculele tale personale!");
        idd = PersonalCar(playerid);
        if(CarInfo[idd][Spawned] != car) return SendClientMessage(playerid, COLOR_GREY, "Nu esti in vehiculul tau!");
        if(idd == 0) return SendClientMessage(playerid, COLOR_GREY, "Acest vehicul nu iti apartine!");
        new Float:x, Float:y, Float:z, Float:a;
        GetVehiclePos(car, x, y, z);
        GetVehicleZAngle(car, a);
        CarInfo[idd][cLocationx] = x;
        CarInfo[idd][cLocationy] = y;
        CarInfo[idd][cLocationz] = z;
        CarInfo[idd][cAngle] = a;
        VehicleOwned[CarInfo[idd][Spawned]] = 0;
        VehicleSQL[CarInfo[idd][Spawned]] = 0;    
        DestroyVehicle(car);
        CheckVehicle(car);
        if(strlen(CarInfo[idd][cText]) >= 3) {
            DestroyDynamicObject(nameobject[CarInfo[idd][Spawned]]);
        }            
        CarInfo[idd][Spawned] = CreateVehicleEx(CarInfo[idd][cModel],CarInfo[idd][cLocationx],CarInfo[idd][cLocationy],CarInfo[idd][cLocationz],CarInfo[idd][cAngle],CarInfo[idd][cColorOne],CarInfo[idd][cColorTwo],-1);
        VehicleOwned[CarInfo[idd][Spawned]] = CarInfo[idd][Spawned];
        VehicleSQL[CarInfo[idd][Spawned]] = idd;       
        SetTunning(car);
        attach_vip_text(idd);
        SetVehicleNumberPlate(CarInfo[idd][Spawned], CarInfo[idd][cLicense]);
        mysql_format(SQL, string, sizeof(string), "UPDATE cars SET Locationx='%f' WHERE ID=%d", CarInfo[idd][cLocationx], idd);
        mysql_tquery(SQL, string, "", "");
        mysql_format(SQL, string, sizeof(string), "UPDATE cars SET Locationy='%f' WHERE ID=%d", CarInfo[idd][cLocationy], idd);
        mysql_tquery(SQL, string, "", "");
        mysql_format(SQL, string, sizeof(string), "UPDATE cars SET Locationz='%f' WHERE ID=%d", CarInfo[idd][cLocationz], idd);
        mysql_tquery(SQL, string, "", "");
        mysql_format(SQL, string, sizeof(string), "UPDATE cars SET Angle='%f' WHERE ID=%d", CarInfo[idd][cAngle], idd);
        mysql_tquery(SQL, string, "", "");
        mysql_format(SQL, string, sizeof(string), "UPDATE cars SET Spawned='%d' WHERE ID=%d", CarInfo[idd][Spawned], idd);
        mysql_tquery(SQL, string, "", "");
        SCM(playerid, 0xFFBABAFF, "Vehicul parcat!");
        return 1;
    }

    function CheckVehicle(carid) {
        foreach(Player, i) {
            if(IsPlayerConnected(i)) {
                if(VehicleKey == carid) VehicleKey = 0;
            }
        }
        return 1;
    }

     

  2. gc0dGxq.png

    DNS: rpg.realboost.ro:7777

    IP: 54.36.68.191:7777

     

    gc0dGxq.png

    Realboost RPG - Este un server RPG jucat in limba romana, cu jucatori romani si un staff de treaba,mereu saritor la ajutor.

     

    > Proiectul Realboost la moment detine urmatoarele.

    > Un anti-hack bine pus la punct.

    > Un Staff capabil.

    > Sistema masini personale.

    > Teritorii la ganguri

    > Un Site/Forum complex.

    > Multe alte chestii interesante.

     

     

     

     

    7VpapcR.png

    dklN8U2.gif Factiuni:

     

    NE2b6Cr.pngSan Andreas Police Departament

    kQptSNQ.pngFederal Bureau of Investigations

    uzbJFBB.pngNational Guard

    CQxtdyE.pngLos Aztecas

    PFHa1rl.pngGrove Street

    Dif6TiG.pngLos Vagos

    3qJ7yL9.png Las Venturas Police Department

    XHea2pB.pngNews Reporters

    i0AjuQh.pngBallas

    i0AjuQh.pngHitman Agency

    XHea2pB.pngSchool Instructors LV

    uzbJFBB.pngTaxi

    CQxtdyE.png Las Venturas Pramedic Department

    7VpapcR.png

    dklN8U2.gif Job-uri:

     

    0r9e7jH.pngDetective

    0r9e7jH.pngDrugs Dealer

    0r9e7jH.pngPizza Boy

    0r9e7jH.pngBug Driver

    0r9e7jH.pngMechanic

    0r9e7jH.pngArms Dealer

    0r9e7jH.pngGarbage

    0r9e7jH.pngFisherman

    0r9e7jH.pngTrucker

    0r9e7jH.pngFarmer

    0r9e7jH.pngCar Jacker

     

     

     

    7VpapcR.png

  3. Acum 7 minute, Bogdan1 a spus:

    Adauga la server cfg - Plugins - mysql.so sscanf.so streamer.so Whirlpool.so

    Apoi te duci in ftp la  PLUGINS, si bagi toate alea - Mysql.so ---- sscanf.so ---- Streamer.so ---- Whirpool.so

    tot la fel apare

     

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