[HELP]Going in Interiors(Burgershot..etc.)
#5

@messages:
read this

@Interiors:
There are many ways to do this kind of stuff.
One of them is to create a pickup, then OnPlayerPickup() make them go inside the interior (SetPlayerInterior, SetPlayerPos).
Now, how to do it?
pawn Код:
//This is at the top
new pickup;


public OnGameModeInit()
{
    pickup=CreatePickup(...);
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid==pickup)
    {
        SetPlayerInterior(...);
        SetPlayerPos(...);
    }
}
That's a boost on how to do it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)