Jump to content

seek nephrite

Membru
  • Posts

    51
  • Joined

  • Last visited

Posts posted by seek nephrite

  1. Salut, am gasit un gm vechi in pc si observ ca am un include CPloader, nu mai stiu de unde e si cand compilez zice ca nu poate citi "cploader", nu gasesc include ul pe net daca poate sa ma ajute cineva, am incercat sa sterg linia asta cu includeul, iar acum cand compilez sta si nu face nimic, zice "building"... si cam atat, sta pana la infinit, stie cineva?

  2. Am facut un VIP 3dtextlabel, adica sa se afiseze un tag "VIP" deasupra capului fiecarui jucator care are VIP.

    Problema e ca se afiseaza si celor fara VIP si celor cu.

    VIPLABEL[playerid] = Create3DTextLabel("VIP", COLOR_ULTRARED, 0.0, 0.0, 40.0, 20.0, 0, 1);

    Onplayerspawn: if(PlayerInfo[playerid][VIP] > 0) Attach3DTextLabelToPlayer(VIPLABEL[playerid], playerid, 0.0, 0.0, 0.32);

  3. format(string, sizeof(string), "{FF9900}DROP: {ff0000}%s {0FA0DB}a gasit Gift Drop-ul cazut la {CCFF00}Piramida LV {0FA0DB}si a castigat {CCFF00}%d coins & %d$.", PlayerName(playerid), vcoins, vMoney);
            SendClientMessageToAll(~1, string);
            PlayerInfo[playerid][Coins] += vcoins;
            GivePlayerMoney(playerid, vMoney);
            GameTextForPlayer(playerid, "~r~gift drop gasit ~y~felicitari", 1500, 4);
            DestroyDynamicPickup(DroppedGift);

  4. CMD:stats(playerid, params[])
    {
        new Player;
        //--------------------------------------------------------------------------
        if(sscanf(params, "u", Player))
        return SendUsage(playerid, "/stats [Player ID]");
        if(!IsPlayerConnected(Player)) return SendError(playerid, "Player not connected!");
        if(IsPlayerConnected(Player))
        {
            ShowPlayerDialog(playerid, 123, DIALOG_STYLE_MSGBOX, "{FFFFFF}Account Informations", ShowStats(Player), "Close", "");
        }
        return 1;
    }

    cand dau /stats [id] isi ia freeze server-ul

    "ShowStats(Player)" e o functie care arata statisticile jucatorului respectiv

  5. mi a zis cnv de la host ca nu am pus bine datele la baza de date, pai ce trb are, trebuia sa porneasca server-ul si sa nu imi apara dialog-ul ala de la login daca era problema la baza de date, e prima data cand mi se intampla asa cv )) 

  6.  

    CMD:bonus(playerid, params[])
    {
       if(PlayerInfo[playerid][pLevel] == 1)
    {
       GivePlayerCash(playerid, 1, 10000000000);
       PlayerInfo[playerid][pLevel] = 3

       SendClientMessage(playerid, COLOR_ORANGE, "Ai primit Level 3 + 100.000.000$ !");

       mysql_format(SQL, gQuery, sizeof(gQuery), "UPDATE `users` SET `Level`='3' WHERE `ID`='%d'", PlayerInfo[playerid][pSQLID]);
       mysql_tquery(SQL, gQuery, "", "");
    }
       return 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.