Jump to content

marius11

Membru
  • Posts

    239
  • Joined

  • Last visited

Posts posted by marius11

  1. Acum 1 minut, Mister a spus:

    Nu crezi ca ar trebuie sa rezolvi astea ca sa lucrezi si tu frumos?, adica pe mine m-ar incurca nu as putea sa ma apuc de altceva daca vad ca nu merge ceva

    Loading filterscript 'hud.amx'...
    [18:36:55]   Unable to load filterscript 'hud.amx'.
    [18:36:55]   Loading filterscript 'anti-flood.amx'...
    [18:36:55]   Unable to load filterscript 'anti-flood.amx'.
    [18:36:55]   Loading filterscript 'report.amx'...
    [18:36:55]   Unable to load filterscript 'report.amx'.
    [18:36:55]   Loading filterscript 'antiflood.amx'...
    [18:36:55]   Unable to load filterscript 'antiflood.amx'.
    [18:36:55]   Loading filterscript 'Anti-join-flooding.amx'...
    [18:36:55]   Unable to load filterscript 'Anti-join-flooding.amx'.
    [18:36:55]   Loading filterscript 'detectiv.amx'...
    [18:36:55]   Unable to load filterscript 'detectiv.amx'.
    [18:36:55]   Loading filterscript 'skin.amx'...
    [18:36:55]   Unable to load filterscript 'skin.amx'.
    [18:36:55]   Loaded 0 filterscripts.

     

    18:36:57] [script] 357 vehicles loaded.
    [18:36:57] -mSelection- WARNING: Failed to load list: "skinpd.txt"
    [18:36:57] -mSelection- WARNING: No Items found in file: skinrifa.txt
    [18:36:57] -mSelection- WARNING: No Items found in file: skinaztecas.txt
    [18:36:57] -mSelection- WARNING: No Items found in file: skinlvpd.txt
    [18:36:57] -mSelection- WARNING: No Items found in file: skinng.txt
    [18:36:57] -mSelection- WARNING: No Items found in file: skintaxilv.txt

    skinurile le-am facut si trebuie sa sterg alea dar problema initiala , ce pot face

  2. Acum 8 minute, Mister a spus:

    si arata si server log, poate iei o eraore ca mie imi arata textdrawul acela cand imi da erori in server log

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

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

    [18:36:55] 
    [18:36:55] Server Plugins
    [18:36:55] --------------
    [18:36:55]  Loading plugin: plugins
    [18:36:55]   Failed.
    [18:36:55]  Loading plugin: crashdetect
    [18:36:55]   CrashDetect v4.15.1 is OK.
    [18:36:55]   Loaded.
    [18:36:55]  Loading plugin: wp
    [18:36:55]  
    [18:36:55]  ==================
    [18:36:55]  
    [18:36:55]   Whirlpool loaded
    [18:36:55]  
    [18:36:55]  ==================
    [18:36:55]  
    [18:36:55]   Loaded.
    [18:36:55]  Loading plugin: sscanf
    [18:36:55] 

    [18:36:55]  ===============================

    [18:36:55]       sscanf plugin loaded.     

    [18:36:55]          Version:  2.8.1        

    [18:36:55]    (c) 2012 Alex "Y_Less" Cole  

    [18:36:55]  ===============================

    [18:36:55]   Loaded.
    [18:36:55]  Loading plugin: streamer
    [18:36:55]   Loaded.
    [18:36:55]  Loading plugin: mysql
    [18:36:55]  >> plugin.mysql: R39-2 successfully loaded.
    [18:36:55]   Loaded.
    [18:36:55]  Loading plugin: GeoIP_Plugin
    [18:36:55] GeoIP_Plugin got loaded.
    [18:36:55]   Loaded.
    [18:36:55]  Loading plugin: iTD
    [18:36:55] 
    * iTD Plugin loaded. (Support for textdraw editor mouse/keyboard)

    [18:36:55]   Loaded.
    [18:36:55]  Loading plugin: libRegEx
    [18:36:55] 
    [18:36:55]  ------------------------------
    [18:36:55]  |
    [18:36:55]  | -> Regular Expression Plugin v0.2
    [18:36:55]  | -> Using Oniguruma v5.9.5
    [18:36:55]  |
    [18:36:55]  ------ (c) 2014, Koala -------
    [18:36:55] 
    [18:36:55]   Loaded.
    [18:36:55]  Loaded 8 plugins.

    [18:36:55] 
    [18:36:55] Filterscripts
    [18:36:55] ---------------
    [18:36:55]   Loading filterscript 'hud.amx'...
    [18:36:55]   Unable to load filterscript 'hud.amx'.
    [18:36:55]   Loading filterscript 'anti-flood.amx'...
    [18:36:55]   Unable to load filterscript 'anti-flood.amx'.
    [18:36:55]   Loading filterscript 'report.amx'...
    [18:36:55]   Unable to load filterscript 'report.amx'.
    [18:36:55]   Loading filterscript 'antiflood.amx'...
    [18:36:55]   Unable to load filterscript 'antiflood.amx'.
    [18:36:55]   Loading filterscript 'Anti-join-flooding.amx'...
    [18:36:55]   Unable to load filterscript 'Anti-join-flooding.amx'.
    [18:36:55]   Loading filterscript 'detectiv.amx'...
    [18:36:55]   Unable to load filterscript 'detectiv.amx'.
    [18:36:55]   Loading filterscript 'skin.amx'...
    [18:36:55]   Unable to load filterscript 'skin.amx'.
    [18:36:55]   Loaded 0 filterscripts.

    [18:36:55]  
    [18:36:55]  
    [18:36:55]  
    [18:36:55]  ======================================= 
    [18:36:55]  |                                     | 
    [18:36:55]  |        YSI version 3.09.0684        | 
    [18:36:55]  |        By Alex "Y_Less" Cole        | 
    [18:36:55]  |                                     | 
    [18:36:55]  ======================================= 
    [18:36:55]  
    [18:36:55]  
    [18:36:56]  
    [18:36:56] SUCCES: Conexiunea la baza de date`test` a fost stabilita!
    [18:36:56] Handle: 0
    [18:36:56] handle: 1
    [18:36:56] [script] 0 houses loaded.
    [18:36:57] Last job loaded: id 11
    [18:36:57] Businesses loaded: 24
    [18:36:57] [script] 42 turfs loaded.
    [18:36:57] [script] 357 vehicles loaded.
    [18:36:57] -mSelection- WARNING: Failed to load list: "skinpd.txt"
    [18:36:57] -mSelection- WARNING: No Items found in file: skinrifa.txt
    [18:36:57] -mSelection- WARNING: No Items found in file: skinaztecas.txt
    [18:36:57] -mSelection- WARNING: No Items found in file: skinlvpd.txt
    [18:36:57] -mSelection- WARNING: No Items found in file: skinng.txt
    [18:36:57] -mSelection- WARNING: No Items found in file: skintaxilv.txt
    [18:36:57] Slots init
    [18:36:57] main() has been called.
    [18:36:57] Number of vehicle models: 77

  3. Acum 9 minute, Mister a spus:

    arata server log, daca spui ca arata altceva,

    si arata si cum ai creat textdrawul cu new sau cum l-ai facut

    Acesta este td

    new Text:Textdraw1;

     

    Textdraw1 = TextDrawCreate(554.399963, 410.666717, "Romania");
            TextDrawLetterSize(Textdraw1, 0.451600, 1.667200);
            TextDrawAlignment(Textdraw1, 1);
            TextDrawColor(Textdraw1, 16777215);
            TextDrawSetShadow(Textdraw1, 3);
            TextDrawSetOutline(Textdraw1, 0);
            TextDrawBackgroundColor(Textdraw1, 51);
            TextDrawFont(Textdraw1, 1);
            TextDrawSetProportional(Textdraw1, 1);

  4. Problema intalnita (descriere):Pai pun un td care sa apara in partea drapta jos numele svr si nu merge nu apare , apare alt cva
    Ero(area / rile) / warning-(ul / urile):Nu
    Liniile de cod / sursa / script-ul(obligatoriu):

    new Text:Textdraw1;

     

    Textdraw1 = TextDrawCreate(554.399963, 410.666717, "Romania");
            TextDrawLetterSize(Textdraw1, 0.451600, 1.667200);
            TextDrawAlignment(Textdraw1, 1);
            TextDrawColor(Textdraw1, 16777215);
            TextDrawSetShadow(Textdraw1, 3);
            TextDrawSetOutline(Textdraw1, 0);
            TextDrawBackgroundColor(Textdraw1, 51);
            TextDrawFont(Textdraw1, 1);
            TextDrawSetProportional(Textdraw1, 1);

    Imagini / Video (optional):
    Ati incercat sa rezolvati singur?:

    1231.png

  5. am sters de acolo dar da eroare poate nu merge la mn sa pun asa cva

    E:\Users\ionut\Desktop\gamemodes\gmm.pwn(43276) : error 001: expected token: ";", but found "{"
    E:\Users\ionut\Desktop\gamemodes\gmm.pwn(43278) : error 021: symbol already defined: "format"
    E:\Users\ionut\Desktop\gamemodes\gmm.pwn(43280) : error 010: invalid function or declaration
    E:\Users\ionut\Desktop\gamemodes\gmm.pwn(43282) : error 054: unmatched closing brace ("}")
    E:\Users\ionut\Desktop\gamemodes\gmm.pwn(43614) : warning 203: symbol is never used: "stringreport"
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase

  6. Chiar acum, DaEdRiC-FoX a spus:

    Nu știu cum l.ai pus tu, trebuie să fie sub ultima acoladă, cred ca tu l.ai pozitionat aiurea, este făcut corect callback.ul.

    l-am pus langa celelante  forward Gambler(playerid); forward PlayAgainTimer(playerid); forward RDYBLINK();

    Mai incerc 

  7. Acum 5 minute, DaEdRiC-FoX a spus:

    Ștergi de la OnPlayerUpdate, te duci la comandă /report și pui sub NumarReport++;

    SetTimer("ShowReport",1000,false);

    Apoi te duci la sfârșitul gm.ului și faci așa:

    forward ShowReport();

    public ShowReport

    {

    new stringreport[10]; format(stringreport, sizeof(stringreport), "~y~Reporturi: %d", NumarReport);//afisam reporturile TextDrawSetString(TextdrawReport[playerid], stringreport);

    return 1;

    }

    primesc multe erori daca pun la sfarsitul gm aia

    E:\Users\ionut\Desktop\gamemodes\gmm.pwn(43608) : error 001: expected token: ";", but found "{"
    E:\Users\ionut\Desktop\gamemodes\gmm.pwn(43610) : error 021: symbol already defined: "format"
    E:\Users\ionut\Desktop\gamemodes\gmm.pwn(43612) : error 010: invalid function or declaration
    E:\Users\ionut\Desktop\gamemodes\gmm.pwn(43614) : error 054: unmatched closing brace ("}")
    E:\Users\ionut\Desktop\gamemodes\gmm.pwn(43615) : warning 203: symbol is never used: "stringreport"
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    4 Errors.

  8. Chiar acum, DaEdRiC-FoX a spus:

    Ai așa la OnPlayerUpdate?

    
    new stringreport[10];
    format(stringreport, sizeof(stringreport), "~y~Reporturi: %d", NumarReport);//afisam reporturile
    TextDrawSetString(TextdrawReport[playerid], stringreport);

    da

  9. Chiar acum, DaEdRiC-FoX a spus:

    Arată.mi comandă /report și /acceptreport

    CMD:report(playerid, params[])
    {
        if(systemVariables[reportSystem] == 0)
        {
            if(isnull(params))
            {
                SCM(playerid, COLOR_GREY, SYNTAX_MESSAGE"/report [message]");
            }
            else
            {
                if(playerVariables[playerid][pReport] >= 1) {
                    SCM(playerid, COLOR_WHITE, "You already have an active report within our system, please wait for it to be answered.");
                }
                else
                {
                    if(rTime[playerid] == 0)
                    {
                        if(rMuted[playerid] == 0)
                        {
                            if(strlen(params) >= 100)
                            {
                                return SCM(playerid, COLOR_GREY, "Your report message was too long. Keep it under 100 characters.");
                            }
                            else
                            {
                                new str[256];
                                format(str, 256, "SELECT * FROM `reports`");
                                new Cache: res = mysql_query(handle, str);
                                new reports = cache_get_row_count();
                                cache_delete(res);
                                if(reports == 128)
                                {
                                    SendClientMessage(playerid, COLOR_LIGHTRED, "There are too many unread reports.");
                                }
                                else
                                {
                                    rTime[playerid] = 120;
                                    new y,m,d,h,mi,s;
                                    getdate(y,m,d);
                                    gettime(h,mi,s);
                                    new str2[512];
                                    format(str2,512,"INSERT INTO `reports` (`player`,`message`,`time`) VALUES ('%s','%s','%02d/%02d/%d %02d:%02d:%02d')",playerVariables[playerid][pNormalName],params,d,m,y,h,mi,s);
                                    mysql_tquery(handle, str2);
                                    SCM(playerid, -1, "{004AB8}Reportul tau a fost trimis {EF0000}staff-ului{004AB8}.");
                                    NumarReport ++;
                                    format(szMessage, sizeof(szMessage), "{FF0000}Player{FFFF00} %s [{FFFF00}id %d]{FF0000} Mesaj report:{FFFF00} %s.{FF0000}Foloseste /ar sau /reports .", playerVariables[playerid][pNormalName], playerid,params);
                                    submitToAdmins(szMessage, COLOR_REPORT);
                                    Reported[playerid] = 1;
                                    foreach(Player, i)
                                    {
                                        if(playerVariables[pHelper] >= 1)
                                        {
                                            SCM(i, COLOR_REPORT, szMessage);
                                        }
                                    }
                                }
                            }
                        }
                        else
                        {
                            format(szMessage, sizeof(szMessage), "Ai mute , poti folosi /report in %d secunde.", rMuted[playerid]);
                            SCM(playerid, -1, szMessage);
                        }
                    }
                    else
                    {
                        format(szMessage, sizeof(szMessage), "Poti trimite un nou report in %d secunde.", rTime[playerid]);
                        SCM(playerid, -1, szMessage);
                    }
                }
            }
        }
        else
        {
            SCM(playerid, COLOR_WHITE, "The report system is disabled right now. Please try again later.");
        }
        return 1;
    }

    si

    CMD:acceptreport(playerid, params[])
    {
        new target;
        if(sscanf(params, "u", target)) return SCM(playerid, -1, "Syntax: /acceptreport [playerid]");
        if(IsPlayerConnected(target))
        {
            if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 1)
            {
                if(target != INVALID_PLAYER_ID)
                {
                    if(Reported[target] == 1)
                    {
                        format(szMessage, sizeof(szMessage), "%s accepted your report. Use /al [text] to chat with him.", playerVariables[playerid][pNormalName]);
                        SCM(target, COLOR_YELLOW, szMessage);

                        format(szMessage, sizeof(szMessage), "You accepted %s's report. Use /al [text] to chat with him.", playerVariables[target][pNormalName]);
                        SCM(playerid, COLOR_YELLOW, szMessage);

                        format(szMessage, sizeof(szMessage), "%s accepted %s's reports.", playerVariables[playerid][pNormalName],playerVariables[target][pNormalName]);
                        submitToAdmins(szMessage, COLOR_YELLOW);
                        NumarReport --;

                        new query[256];
                        mysql_format(handle, query, 256, "DELETE FROM `reports` WHERE `player` = '%s'", playerVariables[target][pNormalName]);
                        mysql_tquery(handle, query);
                        playerVariables[playerid][pHelpedPlayers]++;
                        playerVariables[playerid][pHelperTokens]++;

                        LiveChat[playerid] = target;
                        LiveChat[target] = playerid;
                        Reported[target] = 0;
                        NeededHelp[target] = 0;
                    }
                    else
                    {
                        SCM(playerid, COLOR_GREY, "This player didn't report anything.");
                    }
                }
                else
                {
                    SCM(playerid, COLOR_GREY, "This player is not connected.");
                }
            }
            else
            {
                SCM(playerid, COLOR_GREY, "You are not a helper/admin!");
            }
        }
        else
        {
            SCM(playerid, COLOR_GREY, "Player not connected!");
        }
        return 1;
    }

  10. Acum 1 minut, DaEdRiC-FoX a spus:

    La începutul gm.ului trebuia să creezi o nouă variabilă gen new NumarReport; așa ai pus.o?

    asta 

    new NumarReport = 0;//la inceputul gm-ului

     da

    Apare doar td si atat jos si daca dau /report nu apare reports:1

  11. Acum 2 minute, DaEdRiC-FoX a spus:

    Ti.am arătat mai sus, trepui să pui [playerid] la TextdrawReport.

    la /acceptreport cand pun NumarulReport --; nu merge da eroare iar cand pun NumarReport --; merge dar nu apar reporturile

    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(38162) : error 017: undefined symbol "NumarulReport"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(38162) : warning 215: expression has no effect
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase
     

  12. Acum 1 minut, DaEdRiC-FoX a spus:

    Băi baiatule,dacă știi ca înțelegi greu,citești printr.e rânduri și nu înțelegi nimic de ce te mai chinui cu scriptingul?

    DECI:

    Schimbi PlayerInfo cu playerVariables, iar apoi schimbi pAdmin cu pAdminLevel cum faci asta?

    Apeși ctrl+ f de pe tastatura,(mai exact tastă din colțul de jos din partea stânga a tastaturii și tastă f..cred ca știi alfabetul) iar apoi ți se va deschide o casetă, în acea casetă scrii PlayerInfo și apeși tastă enter (tastă aia mare de pe tastatură)și faci înlocuirile care ți le.am zis mai sus ;) 

    am rezolvat asta acum imi da la 

     

  13. Problema intalnita (descriere):Am bagat acel script cu reporturi dar mai imi da o singura eroare
    Ero(area / rile) / warning-(ul / urile):

     

    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(10156) : error 001: expected token: ")", but found "-identifier-"
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    1 Error.
     


    Liniile de cod / sursa / script-ul(obligatoriu):(10156) TextDrawShowForPlayer(playerid,TextdrawReport[playerid]);
    Imagini / Video (optional):
    Ati incercat sa rezolvati singur?:

  14. Acum 2 minute, Mister a spus:

    NU CAUTA  iPlayerInfo[playerid][pAdmin]

    CAUTA  PlayerInfo[playerid][pAdmin]

    SI INLOCUIESTE CU 

    playerVariables[playerid][pAdminLevel]

    UN COPIL DE 8 ANI CRED CA INTELEGEA MAI BINE

    Ce atatea disctuii pentru atata lucru?

    nu imi gaseste nici asta  PlayerInfo[playerid][pAdmin] o las asa mai bine oricum ms ca ai stat sa imi explici

  15. Acum 9 minute, Mister a spus:

    Exact ce am spus din tot ce am scris acolo, tu nu ai gandit nimic, decat ai dat copy paste in ctrl+f la ce ti sa parut mai usor

    
    if(PlayerInfo[playerid][pAdmin] > 0)

    asta trebuie nu asta

    iPlayerInfo[playerid][pAdmin]

     

    ca dupa cum vezi este un i in fata, doamne....

    te gandesti si tu ca e in if

    ok , dar la mine in gm nu exista asta  iPlayerInfo[playerid][pAdmin] cum sa o inlocuiesc daca nu o am :(  si chiar nu inteleg la ce te referi , eu nu vreau sa fac server de samp vreau sa invat sa fac dar nu inteleg care este legatura 

    Am adaugat si asa si tot nu merge 

    if(playerVariables[playerid][pAdminLevel] >= 1
  16. Acum 9 minute, Mister a spus:

    Simplu uite aici de aia ai cap sa gandesti

     

    Observi ca in comanda ta este asta

    
    if(playerVariables[playerid][pAdminLevel] >= 1

    iar in comanda mea este asta

    
    if(PlayerInfo[playerid][pAdmin] > 0)

    Citesti si tu ca nu costa nimic sa gandesti si citesti

    vezi ca seamana intre ele si mai si scrie acelasi lucru Padmin si pAdminLevel, ma poate trebuie facut cu asta al meu daca pe al lui nu il accepta sau da eraore

    deci schimbi 

    iPlayerInfo[playerid][pAdmin]

    cu 

    playerVariables[playerid][pAdminLevel]

    Simplu si usor, dar nu va inteleg de ce va mai apucati de scripting, nu veti ajunge nicaieri, nimeni nu mai intra pe servere noi, limbajul este destul de greut si nu te ajuta cu nimic ca il stii, sunt o gramada de scripteri, si daca vedeti ca nu stiti, stati in banca voastra si jucati ca playeri sau cel putin cautati pe net ceva tutoriale

    Nu gasesc in comanda goto iPlayerInfo[playerid][pAdmin]

  17. Acum 2 minute, Mister a spus:

    te uiti la comanda /goto sa vezi cum este pdata sau playerinfo sau cum ai tu in gm, este imposibil sa nu fi gasit in gm sau sa fi vazut atata lucru :|  pdata sau playerinfo

    Scuze dar nu inteleg ce este cu goto

     

    CMD:goto(playerid, params[]) {
        if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 2) {
            new
                userID;

            if(sscanf(params, "u", userID)) {
                return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/goto [playerid]");
            }
            else if(playerVariables[playerid][pWarrants] >= 1) {
                return SendClientMessage(playerid, COLOR_GREY, "You are wanted, you can't goto to anyone.");
            }
            else if(AFK[playerid] >= 1) {
                return SendClientMessage(playerid, COLOR_GREY, "You can't goto because you are sleeping.");
            }
            else if(playerVariables[playerid][pPrisonTime] >= 1) {
                return SendClientMessage(playerid, COLOR_GREY, "You can't goto because you are in jail.");
            }
            else {
                if(!IsPlayerConnected(userID)) return SendClientMessage(playerid, COLOR_GREY, "The specified player ID is either not connected or has not authenticated.");

                new
                    messageString[64],

                    Float: fPos[3];

                GetPlayerPos(userID, fPos[0], fPos[1], fPos[2]);

                if(GetPlayerState(playerid) == 2) {

                    SetVehiclePos(GetPlayerVehicleID(playerid), fPos[0], fPos[1]+2, fPos[2]);

                    LinkVehicleToInterior(GetPlayerVehicleID(playerid), GetPlayerInterior(userID));
                    SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), GetPlayerVirtualWorld(userID));
                }

                else SetPlayerPos(playerid, fPos[0], fPos[1]+2, fPos[2]);

                SetPlayerInterior(playerid, GetPlayerInterior(userID));
                SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(userID));

                GetPlayerName(userID, szPlayerName, MAX_PLAYER_NAME);

                format(messageString, sizeof(messageString), "You have teleported to %s.", szPlayerName);
                SendClientMessage(playerid, COLOR_WHITE, messageString);
                IsOnDM[playerid] = IsOnDM[userID];
                InBizz[playerid] = InBizz[userID];
                InHouse[playerid] = InHouse[userID];
                InHQ[playerid] = InHQ[userID];

            }
        }

        return 1;
    }
     

  18. Acum 1 minut, Mister a spus:

    Trebuie configurat pentru gm-ul tau nu il iei si il arunci pur si simplu in gm

    Folosesc gm virtual RPG

    aici am problema  mare , ce trebuie sa configurez

        if(PlayerInfo[playerid][pAdmin] > 0)
        TextDrawShowForPlayer(playerid,TextdrawReport[playerid]);

    Acum 1 minut, marius11 a spus:

    Folosesc gm virtual RPG

    aici am problema  mare , ce trebuie sa configurez

        if(PlayerInfo[playerid][pAdmin] > 0)
        TextDrawShowForPlayer(playerid,TextdrawReport[playerid]);

    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(10100) : error 017: undefined symbol "PlayerInfo"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(10100) : warning 215: expression has no effect
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(10100) : error 001: expected token: ";", but found "]"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(10100) : error 029: invalid expression, assumed zero
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(10100) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    4 Errors.

  19. La 28.07.2015la16:43, Mister a spus:

    Salut, creezi o variabila

    
    new NumarReport = 0;//la inceputul gm-ului

    La comanda /report dupa mesajul "reportul tau a fost trimis" adaugi asta

    
    NumarReport ++;

    La comanda /acceptreport sau cum ai tu comanda pentru a raspunde la report, adaugi asta dupa mesajul"X ti-a raspuns la report"

    
    NumarulReport --;

    Apoi creezi textdrawl


    La inceputul gm-ului

    
    new Text:TextdrawReport[MAX_PLAYERS];

    La OnGameModeInit creezi textdrawul

     

    
            TextdrawReport[i] = TextDrawCreate(466.000000,380.000000, " "); // report
    		TextDrawBackgroundColor(TextdrawReport[i], 255);
    		TextDrawFont(TextdrawReport[i], 1);
    		TextDrawLetterSize(TextdrawReport[i], 0.299999,1.000000);
    		TextDrawColor(TextdrawReport[i], 0xFFFFFFFF);
    		TextDrawSetOutline(TextdrawReport[i], 1);
    		TextDrawSetProportional(TextdrawReport[i], 1);

    la OnPlayerUpdate pui asta:

    
    new stringreport[10];
    format(stringreport, sizeof(stringreport), "~y~Reporturi: %d", NumarReport);//afisam reporturile
    TextDrawSetString(TextdrawReport[playerid], stringreport);

    Si la OnplayerSpawn punem codul uramtor:

    
    	if(PlayerInfo[playerid][pAdmin] > 0)
    	TextDrawShowForPlayer(playerid,TextdrawReport[playerid]);

    E destul de simplu daca mai vrei ceva la el, modifici singur nu este atat de greu

    Ma ajutati

    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(2096) : error 017: undefined symbol "i"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(2097) : error 017: undefined symbol "i"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(2098) : error 017: undefined symbol "i"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(2099) : error 017: undefined symbol "i"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(2100) : error 017: undefined symbol "i"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(2101) : error 017: undefined symbol "i"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(2102) : error 017: undefined symbol "i"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(10138) : error 017: undefined symbol "PlayerInfo"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(10138) : warning 215: expression has no effect
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(10138) : error 001: expected token: ";", but found "]"
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(10138) : error 029: invalid expression, assumed zero
    E:\Users\ionut\Desktop\gamemode bun\gamemodes\gmm.pwn(10138) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    11 Errors.

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