SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 30/03/2012, 05:57 PM   #1
Riso135
Big Clucker
 
Join Date: Apr 2011
Location: Bratislava/Slovakia
Posts: 83
Reputation: 7
Thumbs up Turbo Enter-Exit System

TURBO ENTER EXIT SYSTEM V1.0

Hello Guys,

I want to release my include for easy enter-exits.

Firsty put this in your GM:
Code:
#include <turboenterexit>
Then put this to public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
Code:
OnEnterPlayerKeyStateChange(playerid, newkeys, oldkeys);
Let's create some enter exit like this:
Code:
CreateEnter(Name[],Float:pX, Float:pY, Float:pZ, Float:iX, Float:iY, Float:iZ,ii);
For example:
Code:
CreateEnter("{FFFFFF}[ {00CCFF}NAME {FFFFFF}]\n{FFFFFF}Press {00CCFF}ENTER",-1309.4834,-51.2179,14.1484,2309.2759,-14.9134,26.7422,0);
Code:
Name[] = name in 3DTextLabel for example "TEST"
Float:pX = pickup X position
Float:pY = pickup Y position
Float:pZ = pickup Z position
Float:iX = interior X position
Float:iY = interior Y position
Float:iZ = interior Z position
ii = interior ID
And ingame it looks like this:

DOWNLOAD

Last edited by Riso135; 15/05/2012 at 06:19 PM.
Riso135 is offline   Reply With Quote
Old 30/03/2012, 06:00 PM   #2
rati555
Huge Clucker
 
rati555's Avatar
 
Join Date: May 2010
Location: Georgia/Tbilisi
Posts: 201
Reputation: 18
Default Re: Turbo Enter-Exit System

pawn Code:
CreateEnter(Name[],Float:pX, Float:pY, Float:pZ, Float:iX, Float:iY, Float:iZ,ii);
what is "ii" ?
rati555 is offline   Reply With Quote
Old 30/03/2012, 06:01 PM   #3
Ewwe
Little Clucker
 
Join Date: Feb 2011
Posts: 16
Reputation: 2
Default Re: Turbo Enter-Exit System

Quote:
Originally Posted by rati555 View Post
pawn Code:
CreateEnter(Name[],Float:pX, Float:pY, Float:pZ, Float:iX, Float:iY, Float:iZ,ii);
what is "ii" ?
Interior
Ewwe is offline   Reply With Quote
Old 30/03/2012, 06:02 PM   #4
Riso135
Big Clucker
 
Join Date: Apr 2011
Location: Bratislava/Slovakia
Posts: 83
Reputation: 7
Default Re: Turbo Enter-Exit System

ii is interior id
Riso135 is offline   Reply With Quote
Old 30/03/2012, 06:11 PM   #5
Ewwe
Little Clucker
 
Join Date: Feb 2011
Posts: 16
Reputation: 2
Default Re: Turbo Enter-Exit System

Quote:
Originally Posted by rati555 View Post
pawn Code:
CreateEnter(Name[],Float:pX, Float:pY, Float:pZ, Float:iX, Float:iY, Float:iZ,ii);
what is "ii" ?
Interior
Ewwe is offline   Reply With Quote
Old 31/03/2012, 06:57 AM   #6
Riso135
Big Clucker
 
Join Date: Apr 2011
Location: Bratislava/Slovakia
Posts: 83
Reputation: 7
Default Re: Turbo Enter-Exit System

lol double post
Riso135 is offline   Reply With Quote
Old 31/03/2012, 07:06 AM   #7
Reklez
Gangsta
 
Reklez's Avatar
 
Join Date: Mar 2012
Location: Philippines
Posts: 568
Reputation: 64
Default Re: Turbo Enter-Exit System

Please explain more what it does do.
__________________

Asking a reputation for Server Advertisement? You kidding me, You are totally n00b!
Reklez is offline   Reply With Quote
Old 31/03/2012, 07:38 AM   #8
The__
Huge Clucker
 
Join Date: Nov 2011
Posts: 393
Reputation: 49
Default Re: Turbo Enter-Exit System

Nothing to explain.
It actually makes an entrance and exit of interiors.
The__ is offline   Reply With Quote
Old 03/04/2012, 06:50 PM   #9
Riso135
Big Clucker
 
Join Date: Apr 2011
Location: Bratislava/Slovakia
Posts: 83
Reputation: 7
Default Re: Turbo Enter-Exit System

yes its very simple but useful (instead of making pickup and OnPlayerPickUpPikcup - if IsPlayerInSphere...blah blah your function here...blah blah - for example)
Riso135 is offline   Reply With Quote
Old 26/05/2012, 01:29 AM   #10
Clark_Kentz
Little Clucker
 
Join Date: Apr 2012
Posts: 3
Reputation: 0
Default Re: Turbo Enter-Exit System

How to remove the message Press ENTER FOR EXIt
Clark_Kentz is offline   Reply With Quote
Reply

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
Enter/Exit DannySnoopy Scripting Help 2 20/03/2012 10:52 AM
Enter Exit System xX60CentXx Help Archive 3 08/01/2011 10:28 PM
[FS] TouR's [Enter/Exit] System TouR Filterscripts 23 13/07/2010 05:56 PM
how to create an /exit and /enter command to enter an costum interior? sandisk125 Help Archive 5 18/08/2009 01:07 PM
Help with /enter , /exit OcTeT Help Archive 35 15/03/2009 11:27 PM


All times are GMT. The time now is 06:13 AM.


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