Jump to content

RusKo

Membru
  • Posts

    33
  • Joined

  • Last visited

Posts posted by RusKo

  1. Salut, am si eu o problema cu 2 coduri de CreateDynamicObject: 

    L-GM.pwn(13192) : warning 217: loose indentation

    L-GM.pwn(13244) : warning 217: loose indentation

     

    Codurile: 

    CreateDynamicObject(4079, 1.553586, 2529.344482, 28.244400, 0.000000, 0.000000, 0.000000,1339, -1, -1, 300.0);

    CreateDynamicObject(19377, 53.87690, 2531.96924, 213.01180,   0.00000, 90.00000, 180.00000, 1339);

  2. Ceva gen: BizzInfo[30][bBalance] += minutes*RENT_PRICE;
                BizzInfo[30][bProducts]--;
                new str[128];
                format(str,128,"UPDATE bizz SET `Till`='%d',`Products`='%d' WHERE `ID`='30'",BizzInfo[30][bBalance],BizzInfo[30][bProducts]);
                mysql_query(SQL,str);

    Inloc de 30 pui ID-ul de la bizul tau

  3. CMD:closestcar(playerid, params[]) // Inceput comanda
    { // Deschidem acolada
        if(PlayerInfo[playerid][pAdmin] < 1)return SCM(playerid, COLOR_ERROR, "Eroare: Nu esti admin"); // Verificam daca acel player are admin, si daca nu are sa ii arate mesajul de la 'AdminOnly'.
        if(IsPlayerInAnyVehicle(playerid))return SCM(playerid, COLOR_GREY, "Esti deja intr-un vehicul."); // Verificam daca adminul este deja intr-o masina.
        new thacar = GetClosestVehicle(playerid);
        PutPlayerInVehicle(playerid, thacar, 0); // Cand da (/closestcar) sa il pun direct in masina.
        SCM(playerid, COLOR_GREY,"Ai fost teleportat in cel mai apropiat vehicul."); // Ii arata mesajul ca a fost teleportat la masina ce mai apoate e el.
        return 1; // Se termina comanda
    } // Inchidem acolada

    Poftim comanda

  4. Acum 4 ore, VipBo$$ a spus:

    Adaugi la public OnPlayerConnect(playerid)

    RemoveObj(playerid);

    Si dupa asta undeva in gm:

     

    stock RemoveObj(playerid) {
        //lvtaxi bariere
        RemoveBuildingForPlayer(playerid, 1251, 998.0938, 1755.6875, 11.2656, 0.25);
        RemoveBuildingForPlayer(playerid, 1250, 997.7266, 1759.1250, 10.8516, 0.25);
        RemoveBuildingForPlayer(playerid, 1251, 997.0469, 1710.9531, 11.2656, 0.25);
        RemoveBuildingForPlayer(playerid, 1250, 997.4141, 1707.5234, 10.8516, 0.25);
        return 1;
    }

     

    Multumesc, stiam cum sa te scot dar nu stiam ID-urile :)) se poate T/C

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