Help with Teleport
#1

Yo bros!

I am using the LARP GM.
I have a Mafia that got HQ, But there is no exit from there.
How can i make Icon of the "i" and when he on that he will goes out.

Please someone help.
Reply
#2

You mean like when a player stands on a pickup he gets teleported inside the interior?
Reply
#3

At the script bottom;
Код:
New pickupname; // Choose your pickup name
Under OnGameInit

Код:
pickupname = CreatePickup(Model ID, Pickup Type,X,Y,Z); // Your pickup
Under OnPlayerPickUpPickup;

Код:
if(pickupid == pickupname)
	{
	SetPlayerInterior(playerid, 0); // interior
	SetPlayerPos(playerid, X,Y,Z); // Teleport coordinates
	}
Reply
#4

1 post =
Yes also when he enters


2= Thanks, Ill try it
Reply
#5

I do this, but when i go to pickup, i don't go to interior.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)