Jump to content

Quest simple


Ge0

Recommended Posts

Salut prieteni! Postez si eu acest quest facut in graba si la plictiseala. Este unul simplu . Nu este cu salvare . Adica daca intri pe server poti sa-l faci. Daca incerci iar nu vei putea , doar cand te vei deconecta si vei intra iar , nu l-am facut sa se salveze pentru ca e ceva clasic si simplu . Cu un checkpoint! E ceva simplu si rapid. Puteti sa-l faceti voi cat mai frumos! daca va place o sa mai fac , astept parerea voastra!

Plugin foreach  link: https://github.com/karimcambridge/SAMP-foreach/releases

Imagini :  [/img]https://imgur.com/a/nkh3O[/img]

Pastebin: https://pastebin.com/Qyf9EgcN

Edited by Ge0
  • Upvote 1

Orezculapte

Link to comment
Share on other sites

  • 3 weeks later...

dacă vreți să-l introduceți în gamemode, și banii nu se salvează faceți update la pmoney(cash) cu (i, suma).

în rest arată șmecher, dacă îl mutați pe zcmd:

comanda zcmd:

 

CMD:startquest(playerid, params[]){
        if (quest[playerid] == 1) return SendClientMessage(playerid, COLOR_YELLOW, "You have already done this mission!");
        if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_YELLOW, "Get off the vehicle");
        if(IsPlayerInRangeOfPoint(playerid,7.0, -2638.631,-2184.176,1.176))
        {
                questcar[playerid] = CreateVehicle(453,-2657.4333,-2180.7783,-0.2054,71.8543,1,1,100);
                PutPlayerInVehicle(playerid,questcar[playerid],0);
                SendClientMessage(playerid, COLOR_YELLOW, "Follow the red dot.");
                SetPlayerCheckpoint(playerid, -2720.4534,-2191.8794,-0.4076, 9.0);
            }
        else
        {
            SetPlayerCheckpoint(playerid, -2720.4534,-2191.8794,-0.4076, 9.0);
            DisablePlayerCheckpoint(playerid);
            return 1;
        }
        return 1;
}

salvare money(puneți la public verificare): 

			GivePlayerCash(i, 100000);
			Update(i, pCashx);

în rest, baftă cu el.

Link to comment
Share on other sites

17 hours ago, iulik said:

dacă vreți să-l introduceți în gamemode, și banii nu se salvează faceți update la pmoney(cash) cu (i, suma).

în rest arată șmecher, dacă îl mutați pe zcmd:

comanda zcmd:

 


CMD:startquest(playerid, params[]){
        if (quest[playerid] == 1) return SendClientMessage(playerid, COLOR_YELLOW, "You have already done this mission!");
        if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_YELLOW, "Get off the vehicle");
        if(IsPlayerInRangeOfPoint(playerid,7.0, -2638.631,-2184.176,1.176))
        {
                questcar[playerid] = CreateVehicle(453,-2657.4333,-2180.7783,-0.2054,71.8543,1,1,100);
                PutPlayerInVehicle(playerid,questcar[playerid],0);
                SendClientMessage(playerid, COLOR_YELLOW, "Follow the red dot.");
                SetPlayerCheckpoint(playerid, -2720.4534,-2191.8794,-0.4076, 9.0);
            }
        else
        {
            SetPlayerCheckpoint(playerid, -2720.4534,-2191.8794,-0.4076, 9.0);
            DisablePlayerCheckpoint(playerid);
            return 1;
        }
        return 1;
}

salvare money(puneți la public verificare): 


			GivePlayerCash(i, 100000);
			Update(i, pCashx);

în rest, baftă cu el.

ce pot sa zic .. mersi

  • Like 1

Orezculapte

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

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

Guest
Reply to this topic...

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