Jump to content
  • 0



3 answers to this question

Recommended Posts

  • 0

Te referi la tutorialul serverului?

Pai nu e prea greu.

Pasul #1

Creem un public.

forward TutorialStep1(playerid);
public TutorialStep1(playerid)
    SendClientMessage(playerid, -1, "Textul tutorialului numarul 1.");
    SetTimerEx("TutorialStep2", 15000, false, "i", playerid); //15000 - 15 secunde (urmatorul tutorial)
    return 1;

Pasul #2

Creem al 2-lea public

forward TutorialStep2(playerid);
public TutorialStep2(playerid)
    SendClientMessage(playerid, -1, "Textul tutorialului numarul 1.");
    SetTimerEx("TutorialStep3", 15000, false, "i", playerid); //15000 - 15 secunde (urmatorul tutorial)
    return 1;

Pasul #3

Creem al 3-lea public

forward TutorialStep3(playerid);
public TutorialStep3(playerid)
    SendClientMessage(playerid, -1, "Textul tutorialului numarul 1.");
    SetTimerEx("TutorialStep4", 15000, false, "i", playerid); //Doar daca vrei ca tutorialul sa continue
    return 1;

Pasul #4


forward TutorialStep4(playerid);
public TutorialStep4(playerid)
    SpawnPlayer(playerid); //Jucatorul se spawneaza

    return 1;

Pasul #5

Creem un timer dupa inregistrare (ca tutorialul sa inceapa)

SetTimerEx("TutorialStep1", 1000, false, "i", playerid);
  • Upvote 1


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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