Linking marker to interior
#2

Im not sure if I understood you well but i think here's what you're looking for...

On top of your script under all of these includes and defines add

pawn Код:
new name1;
then under OnGameModeInit add

pawn Код:
name1 = CreatePickup(1239, 1,coords);
Then under OnPlayerPickupPickup add

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == name1)
{
              SetPlayerInterior(playerid, interior_id);
              SetPlayerPos(playerid, position inside the interior coords);

}
    return 1;
}
Same thing to make other icons/markers but different coords
Reply


Messages In This Thread
Linking marker to interior - by Jakku - 06.05.2009, 13:30
Re: Linking marker to interior - by *ToM* - 06.05.2009, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)