Interior's -.-
#3

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;
}
Reply


Messages In This Thread
Interior's -.- - by gekas - 23.03.2014, 18:17
Re: Interior's -.- - by gekas - 23.03.2014, 18:29
Re: Interior's -.- - by ReD_HunTeR - 23.03.2014, 18:33
Re: Interior's -.- - by gekas - 23.03.2014, 18:39
Re: Interior's -.- - by gekas - 23.03.2014, 18:54
Re: Interior's -.- - by ReD_HunTeR - 23.03.2014, 18:55
Re: Interior's -.- - by gekas - 23.03.2014, 19:00
Re: Interior's -.- - by gekas - 23.03.2014, 19:08

Forum Jump:


Users browsing this thread: 1 Guest(s)