Turbo Enter-Exit System -
Riso135 - 30.03.2012
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
Re: Turbo Enter-Exit System -
rati555 - 30.03.2012
pawn Code:
CreateEnter(Name[],Float:pX, Float:pY, Float:pZ, Float:iX, Float:iY, Float:iZ,ii);
what is "ii" ?
Re: Turbo Enter-Exit System -
Ewwe - 30.03.2012
Quote:
Originally Posted by rati555
pawn Code:
CreateEnter(Name[],Float:pX, Float:pY, Float:pZ, Float:iX, Float:iY, Float:iZ,ii);
what is "ii" ?
|
Interior
Re: Turbo Enter-Exit System -
Riso135 - 30.03.2012
ii is interior id
Re: Turbo Enter-Exit System -
Ewwe - 30.03.2012
Quote:
Originally Posted by rati555
pawn Code:
CreateEnter(Name[],Float:pX, Float:pY, Float:pZ, Float:iX, Float:iY, Float:iZ,ii);
what is "ii" ?
|
Interior
Re: Turbo Enter-Exit System -
Riso135 - 31.03.2012
lol double post
Re: Turbo Enter-Exit System -
Reklez - 31.03.2012
Please explain more what it does do.
Re: Turbo Enter-Exit System -
The__ - 31.03.2012
Nothing to explain.
It actually makes an entrance and exit of interiors.
Re: Turbo Enter-Exit System -
Riso135 - 03.04.2012
yes its very simple but useful (instead of making pickup and OnPlayerPickUpPikcup - if IsPlayerInSphere...blah blah your function here...blah blah - for example)
Re: Turbo Enter-Exit System -
Clark_Kentz - 26.05.2012
How to remove the message Press ENTER FOR EXIt
Re: Turbo Enter-Exit System -
Clark_Kentz - 26.05.2012
CreateEnter(Name[],Float
![Tongue](images/smilies/razz.gif)
X, Float
![Tongue](images/smilies/razz.gif)
Y, Float
![Tongue](images/smilies/razz.gif)
Z, Float:iX, Float:iY, Float:iZ,ii);
Where to put this?
Re: Turbo Enter-Exit System -
Riso135 - 26.05.2012
put it in public OnGameModeInit of course with your own x,y,z and interior pos
Re: Turbo Enter-Exit System -
loonylove - 26.05.2012
Good Include !