15.11.2010, 21:39
@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?
That's a boost on how to do it.
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(...);
}
}