SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 30/03/2009, 04:35 PM   #1
Taz86
Huge Clucker
 
Join Date: Feb 2009
Posts: 356
Reputation: 0
Default Help with Teleport

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.
Taz86 is offline  
Old 30/03/2009, 04:46 PM   #2
MenaceX^
High-roller
 
Join Date: Aug 2008
Posts: 3,819
Reputation: 13
Default Re: Help with Teleport

You mean like when a player stands on a pickup he gets teleported inside the interior?
MenaceX^ is offline  
Old 30/03/2009, 04:52 PM   #3
SaW_[VrTx]
Gangsta
 
SaW_[VrTx]'s Avatar
 
Join Date: Feb 2007
Posts: 968
Reputation: 2
Default Re: Help with Teleport

At the script bottom;
Code:
New pickupname; // Choose your pickup name
Under OnGameInit

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

Code:
if(pickupid == pickupname)
	{
	SetPlayerInterior(playerid, 0); // interior
	SetPlayerPos(playerid, X,Y,Z); // Teleport coordinates
	}
__________________
SaW_[VrTx] is offline  
Old 30/03/2009, 05:16 PM   #4
Taz86
Huge Clucker
 
Join Date: Feb 2009
Posts: 356
Reputation: 0
Default Re: Help with Teleport

1 post =
Yes also when he enters


2= Thanks, Ill try it
Taz86 is offline  
Old 18/08/2010, 07:28 AM   #5
Thebest96
Big Clucker
 
Join Date: May 2010
Posts: 199
Reputation: 0
Default Re: Help with Teleport

I do this, but when i go to pickup, i don't go to interior.
__________________
Maps:

* Admin Relax Place
* Los Santos Taxi Station
* Los Santos Fire Department

Tuturials:

Coming SOON

FilterScripts:

Comming SOON

Gamemodes:


Comming SOON
Thebest96 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Teleport sXecookie Help Archive 4 08/01/2010 10:48 PM
[Include] [INC] Map teleport fix. Christopher. Includes 5 11/11/2009 02:56 PM
teleport. PANNA Help Archive 3 12/10/2009 05:30 PM
[Include] [INC]Teleport include. Make teleport in 1 line! AiVAMAN Includes 2 05/09/2009 02:41 PM
Help Teleport gunit_j Help Archive 2 04/02/2009 01:59 PM


All times are GMT. The time now is 12:23 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.