• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Library] X_EnEx (Interior Entrance Creator) v1.0
#1
X_EnEx by XomoX

Introduction


I'll keep this short and simple,

This is like an interior Entrance and Exit like in Crazybob's and other servers



Download:?https://github.com/CnRXoMoX/X_Enex



Creating Entrance and Exit

Code:
// Note: That the angle plays an important role here you need to be in the right angle before using /save



Enex_Create(entX, entY, entZ, entAng, exiX, exiY, exiZ, exiAng, worldid, interiorid);



Functions

Code:
Enex_SetIcon(id, iconid)

Enex_SetName(id, const name[]);

Enex_PlayerIn(playerid);

Enex_EnableFreeze(id, bool:status);

Enex_Disable(id, bool:status); // Note that this disables only the id of the EnEx you want to disable
  Reply
#2
What is "EnableFreeze"?
  Reply
#3
Its when you enter the interior it freezes you 1 sec your ping i forgot if its 1 sec. Because when the objects is loading you might fall down.
  Reply
#4
If you're already forcing people to use the streamer plugin, you might as well Streamer_UpdateEx instead of standard TPC if EnableFreeze is true
Using Pawn.CMD?

If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
  Reply


Forum Jump: