Using IEE.INC
#1

Hey guys i'm not 100% sure how to use this:
https://sampforum.blast.hk/showthread.php?tid=289660
I can get the 4 co-ords
But i just don't know how to use it

if someone could give me a template that would be helpful
Reply
#2

Hope you can read this in main topic

it says all the things you need to make it

Quote:

• CreateEnterExit(ieeworld, Float:ieex, Float:ieey, Float:ieez, Float:ieex2, Float:ieey2, Float:ieez2, Float:ieea, ieeinterior, ieeworld2 = -1, ieemsg[] = "", ieemodel=19198 );
- ieeworld: The virtual world to create the pickup in. Use -1 for all worlds.
- ieex, ieey, ieez: The coordinates at which to CREATE the pickup
- ieex2, ieey2, ieez2: The coordinates to teleport players to when they enter the pickup
- ieea: The angle to set for the player when they enter the pickup
- ieeinterior: The interior to set when players enter the teleport
- ieeworld2: The virtual world to set when players enter the teleport. Set to -1 to prevent world being changed
- ieemsg: A message to display to players that enter the pickup (leaving the string empty ( "" ) will show no message, it is empty by default)
- ieemodel: The model to use for the pickup (default is 1919
Returns: The ID of the 'slot' in which the pickup is in (NOT the actual pickup's ID)

Reply
#3

It's clearly explained in the include's thread, try to read it very carefull.
One thing I see for example:

Quote:
Originally Posted by MP2
Посмотреть сообщение
CreateEnterExit(ieeworld, Float:ieex, Float:ieey, Float:ieez, Float:ieex2, Float:ieey2, Float:ieez2, Float:ieea, ieeinterior, ieeworld2 = -1, ieemsg[] = "", ieemodel=19198 );
- ieeworld: The virtual world to create the pickup in. Use -1 for all worlds.
- ieex, ieey, ieez: The coordinates at which to CREATE the pickup
- ieex2, ieey2, ieez2: The coordinates to teleport players to when they enter the pickup
- ieea: The angle to set for the player when they enter the pickup
- ieeinterior: The interior to set when players enter the teleport
- ieeworld2: The virtual world to set when players enter the teleport. Set to -1 to prevent world being changed
- ieemsg: A message to display to players that enter the pickup (leaving the string empty ( "" ) will show no message, it is empty by default)
- ieemodel: The model to use for the pickup (default is 19198)
Returns: The ID of the 'slot' in which the pickup is in (NOT the actual pickup's ID)
As you see, everything is explained, and there's a example below that:
Quote:
Originally Posted by MP2
Посмотреть сообщение
CreateEnterExit(0, -1605.5649, 711.5371, 13.8672, 246.1845,110.3962, 1003.2257, 2.6308, 10, 0, "Welcome to the {0000FF}San Fierro Police Department{FFFFFF}.");
Reply
#4

Quote:
Originally Posted by Jari_Johnson*
Посмотреть сообщение
It's clearly explained in the include's thread, try to read it very carefull.
One thing I see for example:



As you see, everything is explained, and there's a example below that:
Oh yeah i've added that in but i'm in the interior and now i can't leave...
EDIT:
Fixed
Reply
#5

Okay it works fine but when i leave it goes into the air
script
Код:
#include <a_samp>
#include <iee>


public OnGameModeInit()
{
CreateEnterExit(0, -1605.5649, 711.5371, 13.8672, 246.1845,110.3962, 1003.2257, 2.6308, 10, 0, "");
CreateEnterExit(0, 245.69, 108, 1003.2188, -1605.4934, 714.4520, 12.8833, 0.0, 0, 0, "");
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)