Help with Teleport - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with Teleport (
/showthread.php?tid=71181)
Help with Teleport -
Taz86 - 30.03.2009
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.
Re: Help with Teleport -
MenaceX^ - 30.03.2009
You mean like when a player stands on a pickup he gets teleported inside the interior?
Re: Help with Teleport -
SaW_[VrTx] - 30.03.2009
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
}
Re: Help with Teleport -
Taz86 - 30.03.2009
1 post =
Yes also when he enters
2= Thanks, Ill try it
Re: Help with Teleport -
Thebest96 - 18.08.2010
I do this, but when i go to pickup, i don't go to interior.