[Include] Turbo Enter-Exit System
#1

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:
[ame="http://www.youtube.com/watch?v=gX-QldlLEms&"]>>>VIDEO<<<[/ame]

DOWNLOAD
Reply
#2

pawn Code:
CreateEnter(Name[],Float:pX, Float:pY, Float:pZ, Float:iX, Float:iY, Float:iZ,ii);
what is "ii" ?
Reply
#3

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
Reply
#4

ii is interior id
Reply
#5

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
Reply
#6

lol double post
Reply
#7

Please explain more what it does do.
Reply
#8

Nothing to explain.
It actually makes an entrance and exit of interiors.
Reply
#9

yes its very simple but useful (instead of making pickup and OnPlayerPickUpPikcup - if IsPlayerInSphere...blah blah your function here...blah blah - for example)
Reply
#10

How to remove the message Press ENTER FOR EXIt
Reply
#11

CreateEnter(Name[],FloatX, FloatY, FloatZ, Float:iX, Float:iY, Float:iZ,ii);

Where to put this?
Reply
#12

put it in public OnGameModeInit of course with your own x,y,z and interior pos
Reply
#13

Good Include !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)