06.05.2009, 15:18
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
then under OnGameModeInit add
Then under OnPlayerPickupPickup add
Same thing to make other icons/markers but different coords
On top of your script under all of these includes and defines add
pawn Код:
new name1;
pawn Код:
name1 = CreatePickup(1239, 1,coords);
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == name1)
{
SetPlayerInterior(playerid, interior_id);
SetPlayerPos(playerid, position inside the interior coords);
}
return 1;
}