• 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) |
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) |
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}.");
|
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: |
#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; }