Posts: 355
Threads: 73
Joined: Feb 2009
Reputation:
0
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.
Posts: 3,262
Threads: 30
Joined: Aug 2008
Reputation:
0
You mean like when a player stands on a pickup he gets teleported inside the interior?
Posts: 554
Threads: 49
Joined: Feb 2007
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
}
Posts: 355
Threads: 73
Joined: Feb 2009
Reputation:
0
1 post =
Yes also when he enters
2= Thanks, Ill try it
Posts: 198
Threads: 24
Joined: May 2010
Reputation:
0
I do this, but when i go to pickup, i don't go to interior.