Interiors
#4

Quote:
Originally Posted by [NWA
Hannes ]
Do something like this:

pawn Код:
//Above main
new hospitalenter;

//At GameModeInit
hospitalenter = CreatePickup(1239, 23, X, Y, Z, -1);//Change X Y Z to the coords of where the pickup should be

//OnPlayerPickUpPickup
if(pickupid == hospitalenter)
{
  SetPlayerInterior(playerid, Interior);//Change "Interior" to the id of the interior your using
  SetPlayerPos(playerid, X, Y, Z);//Change X Y Z to the coords of where you should get teleported upon enterning pickup
}
U explained better :P
Reply


Messages In This Thread
Interiors - by Jonny_lockhart - 26.03.2010, 21:28
Re: Interiors - by ColdXX - 26.03.2010, 22:15
Re: Interiors - by bajskorv123 - 26.03.2010, 22:22
Re: Interiors - by ColdXX - 26.03.2010, 22:32

Forum Jump:


Users browsing this thread: 1 Guest(s)