Jump to content

Cordyandrey

Membru
  • Posts

    160
  • Joined

  • Last visited

Posts posted by Cordyandrey

  1. Salutare nu merge sa deschid serverul.. imi apare asta in chat log. 

    PS. Serverul e pus le ultra-h pentru ca asa le testez.

    
     

    Loaded log file: "server_log.txt".
    ----------

    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team

    [12:45:18] password = ""  (string)
    [12:45:18] 
    [12:45:18] Server Plugins
    [12:45:18] --------------
    [12:45:18]  Loading plugin: crashdetect.so
    [12:45:18]   CrashDetect v4.15.1 is OK.
    [12:45:18]   Loaded.
    [12:45:18]  Loading plugin: streamer.so
    [12:45:18] 

    *** Streamer Plugin v2.9.4 by Incognito loaded ***

    [12:45:18]   Loaded.
    [12:45:18]  Loading plugin: mysql.so
    [12:45:18]  >> plugin.mysql: R39-2 successfully loaded.
    [12:45:18]   Loaded.
    [12:45:18]  Loading plugin: streamerold.so
    [12:45:18] 

    *** Streamer Plugin v2.7.8 by Incognito loaded ***

    [12:45:18]   Loaded.
    [12:45:18]  Loading plugin: sscanf.so
    [12:45:18] 

    [12:45:18]  ===============================

    [12:45:18]       sscanf plugin loaded.     

    [12:45:18]          Version:  2.8.1        

    [12:45:18]    (c) 2012 Alex "Y_Less" Cole  

    [12:45:18]  ===============================

    [12:45:18]   Loaded.
    [12:45:18]  Loading plugin: mysql_static.so
    [12:45:18]   Failed (plugins/mysql_static.so: cannot open shared object file: No such file or directory)
    [12:45:18]  Loaded 5 plugins.

    [12:45:18] 
    [12:45:18] Filterscripts
    [12:45:18] ---------------
    [12:45:18]   Loading filterscript 'UltraHost.amx'...
    [12:45:18]   Loaded 1 filterscripts.

    [12:45:18] *** Streamer Plugin: Include file version (0x294) does not match plugin version (0x278001) (script might need to be recompiled with the latest include file)
    [12:45:18]  
    [12:45:18]  
    [12:45:18]  
    [12:45:18]  ======================================= 
    [12:45:18]  |                                     | 
    [12:45:18]  |        YSI version 3.09.0684        | 
    [12:45:18]  |        By Alex "Y_Less" Cole        | 
    [12:45:18]  |                                     | 
    [12:45:18]  ======================================= 
    [12:45:18]  
    [12:45:18] ------------- SERVER START -------------
    [12:45:18] ----------------------------------------------------
    [12:45:18] ** For Fuck Sake script loaded, running version ffs, 21 Aug 2019
    [12:45:18] ----------------------------------------------------
    [12:45:18] Number of vehicle models: 0
    [12:45:18] [LOADING] 14 groups loaded.
    [12:45:18] [LOADING] 411 vehicles loaded.
    [12:45:18] [LOADING] 0 clans loaded.
    [12:45:18] [LOADING] 106 houses loaded.
    [12:45:18] [LOADING] 48 turfs loaded.
    [12:45:18] [LOADING] 61 businesses loaded.
    [12:45:18] [LOADING] 105 models loaded.
    [12:45:18] [LOADING] 50 quest objects loaded.
    [12:45:18] [LOADING] 20 sVars loaded.
    [12:45:18] [LOADING] 20 billboards loaded.
    [12:45:18] Players registered: 0
    [12:45:19] Accesory loaded: 100

    [/code]

  2. Salutare, fac un clan pun tag tot frumos etc si cand sa dau restart la server intru si dispare tag-ul.. cam toate datele despre clan, ma poate ajuta cnv?

    poza la stats nu apare tag clan si nume la clan https://imgur.com/a/06nMM81

    poza nu apar tagurile de la clan https://imgur.com/a/hJZ0kEv

    poza baza de date: https://imgur.com/a/if57IKM

    cod la loadclan:

     
    	forward LoadClanInfo();
    public LoadClanInfo()
    {
        new strings[256];
        clanss = cache_num_rows();
        for(new d = 1; d <= clanss; d++)
        {
            new var=d;
            format(strings, sizeof(strings), "SELECT * FROM `clans` WHERE `clanID`='%d'", var);
            new Cache: xd = mysql_query(SQL, strings);
            for(new i, j = cache_get_row_count (); i != j; ++i)
            {
                ClanInfo[var][cClanID]                      = cache_get_field_content_int(i, "clanID");
                ClanInfo[var][cClanExpire]                  = cache_get_field_content_int(i, "clanExpire");
                ClanInfo[var][cClanActive]                  = cache_get_field_content_int(i, "clanActive");
                ClanInfo[var][cClanSlots]                  = cache_get_field_content_int(i, "clanSlots");
                ClanInfo[var][cClanSeif]                  = cache_get_field_content_int(i, "clanSeif");
                cache_get_field_content(i, "clanName", ClanInfo[var][cClanName], SQL, 130);
                cache_get_field_content(i, "clanColor", ClanInfo[var][cClanColor], SQL, 130);
                cache_get_field_content(i, "clanMOTD", ClanInfo[var][cClanMOTD], SQL, 130);
                   cache_get_field_content(i, "clanTag", ClanInfo[var][cClanTag], SQL, 130);
                cache_get_field_content(i, "clanRankName7", ClanInfo[var][cClanRankName7], SQL, 130);
                cache_get_field_content(i, "clanRankName6", ClanInfo[var][cClanRankName6], SQL, 130);
                cache_get_field_content(i, "clanRankName5", ClanInfo[var][cClanRankName5], SQL, 130);
                cache_get_field_content(i, "clanRankName4", ClanInfo[var][cClanRankName4], SQL, 130);
                cache_get_field_content(i, "clanRankName3", ClanInfo[var][cClanRankName3], SQL, 130);
                cache_get_field_content(i, "clanRankName2", ClanInfo[var][cClanRankName2], SQL, 130);
                cache_get_field_content(i, "clanRankName1", ClanInfo[var][cClanRankName1], SQL, 130);
            }
            cache_delete(xd);
            LoadClanCar(var);
        }
        printf("[LOADING] %d clans loaded.", clanss);
    }
     
    	
  3. Salutare, am un include anti hack doar ca e o singura problema, acesta merge prea bine iar cand sunt admin si folosesc comanda /speed, /fly, etc primesc kick... Am incercat sa folosesc if(PlayerInfo[playerid][pAdmin] == 0) {... etc 

    dar nu am pus unde trebuie... nici nu prea stiu

    Ma poate ajuta cineva cu un sfat?

  4. Sa fim seriosi, nimeni n-a stat sa invete wiki script samp :)) Cel mai bine inveti prin exemple, nu incurajez copy pasteul dar pentru inceput iti sugerez sa faci niste sisteme oarecum mai usoare, sa urmaresti tutoriale. Parerea mea e ca ai inceput pe un GM chiar bun. Doar ca trebuie sa prinzi anumite chestii.. cand mai bagi un sistem noi mai schimbi si cu variabilele tale adica nu dai copy paste si astepti sa ai cel mai tare sistem.. asa toti ar avea gm wow, nu? Cel mai bine e sa incepi cu lucruri basice si nu ma refer la pus un text cu Bine ai venit pe server.. e prea banal ci sa gandesti niste sisteme doar sa ai exemplu chiar in gm.ul tau cum am facut eu.. Am in gm puncte premium.. faci ci puncte roll e aceeasi chestie doar ca trebuie sa redenumesti intr.un fel variabilele si daca faci asta inveti. Asta e cel mai important.

    • Like 1
  5.  asa trb sa arate scriptul la caseuri:
    
    
    

    format(query, sizeof(query),"UPDATE `users` SET `PetStatus` = '0' WHERE `Name` = '%s'", GetName(playerid));
                            mysql_tquery(SQL, query, " ", " ");

                            Update(playerid, pPetStatusx);    
                        }    
                    }

                   case 1:  {
                        if(!response) return 1;
                        format(string, sizeof(string),"Numele actual al pet-ului este {41fe00}%s{FFFFFF}.\nDaca doresti sa il schimbi,te rugam sa introduci numele dorit in casuta de mai jos.",PlayerInfo[playerid][pPetName]);
                        ShowPlayerDialog(playerid, DIALOG_PET2, DIALOG_STYLE_INPUT, "Pet name change", string, "Change", "Cancel");
                    }

                    case 2: {
                        Checkstatuspet(playerid);                

    .               }

  6. :)) Da luca simple warninguri dar acum nu.i scade rollpoints cand da /roll. Plus serios.. problemele de genul nu cred ca trebuie neaparat postate adica se poate vedea simplu si cu linia in fata ca lipseste de la scm paranreza.. inainte sa postezi mai da un search pe google "warning 213" pawno si vezi ce inseamna.

  7. Omule e al 3lea topic gataaa da-ti up la primul topic si gata daca se gaseste cineva sa raspunda o face. E atat de greu sa iei un alt gm bun si sa vezi functia respectiva acolo? Dupa modifici. Plus nu dai un cod ceva ce ai vrea sa.ti zicem ia si modifica linia 30232 in loc de nush c epune aia. Trebuie sa urmaresti pas cu pas functia nu doar disconnect-ul.

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