Jump to content

Seby Ioan

Membru
  • Posts

    29
  • Joined

  • Last visited

Posts posted by Seby Ioan

  1. On 12/28/2018 at 2:46 AM, Джо said:

    Salut!

    Daca esti tu asa de destept(moldovean cordit ), de ce nu faci tu un sistem mai frumos si elegant?

    Si eventual poate ne impartasesti si noua ”o dovada” cu creatia ta.

    La rusi vezi orice, insa cel putin eu de cand umblu pe forumurile rusesti, nu am vazut ceva asemanator. Poate tot asa jobul hamal dar era altfel facut si structurat.

     

    Frumusel jobul, pentru inceput arata foarte bine!

    Succes pe mai departe.

    Mersi mult ! 

  2. Cum rezolv aceste warning-uri

    C:\Users\seby\Desktop\Flash RPG\gamemodes\gmm.pwn(2140) : warning 225: unreachable code
    C:\Users\seby\Desktop\Flash RPG\gamemodes\gmm.pwn(3787) : warning 219: local variable "string" shadows a variable at a preceding level
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    2 Warnings.
     

  3. 1 minute ago, Banditul said:

    E clar care e problema, tocmai tu ai zis ca uitasei sa adaugi [MAX_PLAYERS] 

    
    format(string, sizeof(string), "Name: %s", GetName(playerid));
    PlayerTextDrawSetString(playerid, LoginPTD[playerid][0], string);
    PlayerTextDrawSetString(playerid, LoginPTD[playerid][1], "Password:~b~click");
    format(string, sizeof(string), "Last Login:~n~%s", laston);
    PlayerTextDrawSetString(playerid, LoginPTD[playerid][2], string);
    
    for(new i = 0; i < 3; i++) PlayerTextDrawShow(playerid, LoginPTD[playerid][i]);
    for(new i = 0; i < 2; i++) TextDrawShowForPlayer(playerid, LoginTD[i]);
    SelectTextDraw(playerid, 0xFFFFF00FF);

     

    unde adaug? is incepator , iti multumesc mult ca ma ajuti

     

  4. 4 minutes ago, Banditul said:

    playertextid nu e in acel context, probabil ai incercat sa detectezi daca un PlayerText e apasat la 

    
    OnPlayerClickTextDraw

    in loc de 

    
    OnPlayerClickPlayerTextDraw

     

    Pentru asta trebuie sa postezi linile

    format(string, sizeof(string), "Name: %s", GetName(playerid));
                    PlayerTextDrawSetString(playerid, LoginPTD[0], string);
                    PlayerTextDrawSetString(playerid, LoginPTD[1], "Password:~b~click");
                    format(string, sizeof(string), "Last Login:~n~%s", laston);
                    PlayerTextDrawSetString(playerid, LoginPTD[2], string);

                    for(new i = 0; i < 3; i++) PlayerTextDrawShow(playerid, LoginPTD);
                    for(new i = 0; i < 2; i++) TextDrawShowForPlayer(playerid, LoginTD);
                    SelectTextDraw(playerid, 0xFFFFF00FF);

     

    ai skype cv sa vb acolo ?

  5. 10 minutes ago, Banditul said:

    Poti arata cum e definit LoginPTD? Ca am vaga banuiala ca e din cauza aia(presupunere)

    Nu aveam [MAX_PLAYERS] cand am definit loginptd dar acum dupa ce am bagat aia uite ce imi apare 

    C:\Users\seby\Desktop\Flash RPG\gamemodes\gmm.pwn(2681) : error 017: undefined symbol "playertextid"
    C:\Users\seby\Desktop\Flash RPG\gamemodes\gmm.pwn(16822) : error 035: argument type mismatch (argument 2)
    C:\Users\seby\Desktop\Flash RPG\gamemodes\gmm.pwn(16823) : error 035: argument type mismatch (argument 2)
    C:\Users\seby\Desktop\Flash RPG\gamemodes\gmm.pwn(16825) : error 035: argument type mismatch (argument 2)
    C:\Users\seby\Desktop\Flash RPG\gamemodes\gmm.pwn(16827) : error 035: argument type mismatch (argument 2)
    C:\Users\seby\Desktop\Flash RPG\gamemodes\gmm.pwn(32991) : warning 217: loose indentation
    C:\Users\seby\Desktop\Flash RPG\gamemodes\gmm.pwn(33006) : warning 217: loose indentation
    C:\Users\seby\Desktop\Flash RPG\gamemodes\gmm.pwn(33010) : error 035: argument type mismatch (argument 2)
    C:\Users\seby\Desktop\Flash RPG\gamemodes\gmm.pwn(38440) : warning 203: symbol is never used: "CrateTD"
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase
     

  6. 1 hour ago, andrei9971 said:

    Probabil ai uitat un punct si virgula. Arata liniile de mai sus.

    stock PlayerTextdraws(playerid) {
        TestTD = CreatePlayerTextDraw(playerid, 307.332946, 1161.081542, "Testa");
        PlayerTextDrawLetterSize(playerid, TestTD, 0.081666, 0.587852);
        PlayerTextDrawAlignment(playerid, TestTD, 1);
        PlayerTextDrawColor(playerid, TestTD, -1);
        PlayerTextDrawSetShadow(playerid, TestTD, 0);
        PlayerTextDrawSetOutline(playerid, TestTD, 0);
        PlayerTextDrawBackgroundColor(playerid, TestTD, 255);
        PlayerTextDrawFont(playerid, TestTD, 2);
        PlayerTextDrawSetProportional(playerid, TestTD, 1);
        PlayerTextDrawSetShadow(playerid, TestTD, 0);

        LoginPTD[playerid][0] = CreatePlayerTextDraw(playerid, 203.500000, 148.311035, "NAME:Edison");
        PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][0], 0.400000, 1.600000);
        PlayerTextDrawTextSize(playerid, LoginPTD[playerid][0], 434.000000, 0.000000);
        PlayerTextDrawAlignment(playerid, LoginPTD[playerid][0], 1);
        PlayerTextDrawColor(playerid, LoginPTD[playerid][0], -1);
        PlayerTextDrawUseBox(playerid, LoginPTD[playerid][0], 1);
        PlayerTextDrawBoxColor(playerid, LoginPTD[playerid][0], 255);
        PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][0], 0);

  7. Am incercat sa fac login cu textdraw si cand compilez imi da asta 

    C:\Users\seby\Desktop\Flash RPG\pawno\include\systems.inc(3893) : warning 215: expression has no effect
    C:\Users\seby\Desktop\Flash RPG\pawno\include\systems.inc(3893) : error 001: expected token: ";", but found "["
    C:\Users\seby\Desktop\Flash RPG\pawno\include\systems.inc(3893) : error 029: invalid expression, assumed zero
    C:\Users\seby\Desktop\Flash RPG\pawno\include\systems.inc(3893) : warning 215: expression has no effect
    C:\Users\seby\Desktop\Flash RPG\pawno\include\systems.inc(3893) : error 001: expected token: ";", but found "]"
    C:\Users\seby\Desktop\Flash RPG\pawno\include\systems.inc(3893) : 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.

     

    uitati si linia LoginPTD[playerid][0] = CreatePlayerTextDraw(playerid, 227.900024, 194.162475, "PASSWORD: CLICK");

     Va rog sa ma ajutati, dau +1

  8. 3 hours ago, CTMBeast said:

    Ai putea sa ne oferi si noua niste detalii... Gen pe ce GM, liniile de cod de la scaderea benzinei.... Nu avem cum sa ghicim ce are daca nu ne arati codul... Dc nu puteti sa intelegeti asta???

    Gm e burned, doar la nrg nu scade 

     

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