+ Reply to Thread
Results 1 to 2 of 2
  1. [Tutorial] Schimbare sistem payday

    #1
    Membru - Silver III Royce.'s Avatar
    Member since
    Mar 2017
    Location
    On my chair.
    Posts
    61
    Mentioned
    0 Post(s)
    Achievements Total Posts 1 Days Since Last Visited 2 Days Since Last Visited 1 Days Registered 2 Days Registered 1 Threads 1
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    [Tutorial] Schimbare sistem payday

    Inainte sa incepem, avem cerintele pentru a urmarii acest tutorial:



    -Sa ai cel putin 16 ani ca sa intelegi macar limbajul de programare

    -Sa stii cu ce se papa scriptingul si mai ales pawno

    -Sa fii atent la fiecare pas



    Pasul 1



    Primul lucru pe care trebuie sa il faceti este sa adaugati aceasta variabila, pday langa celelalte de la pinfo
    Pawn Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!


    Pasul 2



    Acum va trebuie sa stocam aceasta data, o vom salva si desigur o vom incarca cand jucatorul va intra pe server



    Adaugam langa celelalte la OnPlayerRegister
    Pawn Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!

    Pentru a salva adaugam langa celelalte la SavePlayerData
    Pawn Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!

    Iar cand jucatorul intra pe server, adaugam langa celelalte la OnPlayerLogin
    Pawn Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!

    Pasul 3



    In acest pas trebuie sa determinam timpul pe care trebuie sa il indeplineasca utilizatorul pt a lua paycheck



    Mergem la OnPlayerConnect si adaugam jos de tot langa celelalte
    Pawn Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!

    Pasul 4



    Ca sa creeam timpul scurs trebuie sa adaugam urmatorul cod la public OtherTime
    Pawn Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!

    Pasul 5



    Aici am creeat special comanda pentru acest sistem, deci toate creditele imi vin mie
    Pawn Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!


    Pasul 6



    Aici trebuie sa eliminati payday-ul anterior care va venea la si fix, cum faceti asta ? Simplu, inlocuiti SyncTime cu acesta de mai jos
    Pawn Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!


    Si cam asta a fost totul, daca ati urmarit cu atentie toate pasurile sunt sigur ca acest sistem va functiona perfect.
    //life motto
    if ( sad() === true ) {
    sad().stop();
    beAwesome();
    }

  2. [Tutorial] Schimbare sistem payday

    #2
    Filip # 24.08's Avatar
    Member since
    Jan 2018
    Posts
    4
    Mentioned
    0 Post(s)
    Achievements Days Since Last Visited 2 Days Since Last Visited 1 Days Registered 2 Days Registered 1
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    "-Sa ai cel putin 16 ani ca sa intelegi macar limbajul de programare" stiu limbajul pawn de la 14 ani
    "-Sa stii cu ce se papa scriptingul si mai ales pawno" este pawn nu pawno, pawn = limbajul de probramare, pawno = program.

    Asta nu e un tutorial. Este mura-n gura care cei care vor sa invete nu vor intelege nimic.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Partners
Humble Monthly Bundle
Voucher PC-Garage