SA-MP Forums Archive
Interior's -.- - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Interior's -.- (/showthread.php?tid=502383)



Interior's -.- - gekas - 23.03.2014

Hello i need some help.
I need how to create dowble interior
I have create one in 24/7 but i want create 2-nd interior and i create it when pikcup it he tele mee on interior when i pikcup 2-nd interior he tele mee but when i go out of interior exit he teleport mee to the first pickup interior


PLZ HELP MEE

AND I WILL REP YOU



Re: Interior's -.- - gekas - 23.03.2014

Can help mee ?


Re: Interior's -.- - ReD_HunTeR - 23.03.2014

pawn Код:
new pickup1, pickup2;
OnFilterScriptInit()
{
    pickup1 = CreatePickup(1318, 0, x, y, z, 0); //Create First Pickup - Put your x, y,z init
    pickup2 = CreatePickup(1318, 0, x, x, z, 0); //Create Second Pikcup - Put your x, y, z init
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == pickup1)
    {
        SetPlayerPos(playerid, x, y, z); //Set There pos when first pickup
    }
    else if(pickupid == pickup2)
    {
        SetPlayerPos(playerid, x, y, z); //Set There pos when second pickup
    }
    return 1;
}



Re: Interior's -.- - gekas - 23.03.2014

i am do this but if i will ad this pickup want to remove all interior's i want add just 1 interior


Re: Interior's -.- - gekas - 23.03.2014

? ? ? ? ? ? ?


Re: Interior's -.- - ReD_HunTeR - 23.03.2014

What do you mean?


Re: Interior's -.- - gekas - 23.03.2014

When you start grand larceny some of interior's are but i want to create a 24/7 in bs but i dont want remove all interior


Re: Interior's -.- - gekas - 23.03.2014

? ? ? ? ? ? ? ? ? ? ? ? ? ?