Jump to content
  • 0

Sistem misiuni


opy

Question

2 answers to this question

Recommended Posts

  • 0
1 oră în urmă, opy a spus:

Aveți un sistem cu câteva misiuni sau un gm de unde sa le pot extrage?  Sa fie câteva misiuni cu o comanda/mission sa arate misiunile exemplu 2/10
 

aici nu se cere scripturi sau system

  • Upvote 1

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

    if(strcmp(cmd,"/mission",true)==0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(!PlayerToPoint(3.0,playerid,1381.0413,-1088.8511,27.3906))
            {
                SendClientMessage(playerid, COLOR_GREY, "Nu te afli la locul potrivit!");
                return 1;
            }
            if(MissionPlayable == 0)
            {
                SendClientMessage(playerid, COLOR_GREY, "Nu au fost activate misiuni!");
                return 1;
            }
            if(PlayerInfo[playerid][pMissionNr] == MissionPlayable)
            {
                SendClientMessage(playerid, COLOR_GREY, "Ai facut deja misiunea!");
                return 1;
            }
            RingTone[playerid] = 20;
            PlayerOnMission[playerid] = 1;
            MissionCheckpoint[playerid] = 1;
            format(string, sizeof(string), "~w~A inceput misiunea: ~n~~r~%s", PlayMission[kTitle]);
            GameTextForPlayer(playerid, string, 5000, 3);
            format(string, sizeof(string), "%s", PlayMission[kText1]);
            SendClientMessage(playerid, COLOR_LIGHTBROWN, string);
            format(string, sizeof(string), "%s", PlayMission[kText2]);
            SendClientMessage(playerid, COLOR_LIGHTBROWN, string);
            format(string, sizeof(string), "%s", PlayMission[kText3]);
            SendClientMessage(playerid, COLOR_LIGHTBROWN, string);
            if(PlayMission[kToggle] == 1)
            {
                SetPlayerCheckpoint(playerid, PlayMission[kCP1][0], PlayMission[kCP1][1], PlayMission[kCP1][2], 8);
            }
        }
        return 1;
    }

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.