SA-MP Forums Archive
[INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon (/showthread.php?tid=93913)



[INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon - _[HuN]_Epsilon_ - 27.08.2009

ICPM - Invisible CheckPoint Manager -
By Epsilon

Intro:


When I wrote a tutorial for the hungarian scripters about the PlayerToPoint I called this function Invisible Checkpoint. Think a little bit about it. It was true a bit or not?

So i got this idea from my said expression, and I made this -useful?- include


Info:


This is an include what you can use if you want to make invisible checkpoints. This useful for house system's, teleport points and any other familiar ideas.


Functions:

CreateICp(x,y,z,siz);
IsValidICp(icp);
GetFreeICpSlot();
DestroyICp(icpid);
IsPlayerInAnyICp(pid);
GetPlayerICp(pid);
IsPlayerInICp(pid,icpid);
ToggleICpsForPlayer(playerid,bool: itoggle);
ToggleICpsForAll(bool: itoggle);

Callbacks:

OnPlayerEnterInvisibleCP(playerid,icpid)
OnPlayerLeaveInvisibleCP(playerid,icpid)


Warning:

[b]
- You can add things for the 2 callbacks

- The last 2 function will not work in an other function so u should add it to the end of ur script

- You must not edit,copy this include without my permission!

- To escape some bug you should not make a icp to the 0,0,0 coords or with 0 size.

- Default the system isn't active for the player's so you have to active it (ToggleICpsForPlayer).
f.e. at connect

- If you add more Invisible checkpoints than 500 change it in the include at line 5


Download:


First version (for less i.checkpoints): http://solidfiles.com/d/BZ75
Second version (for many i.checkpoints): http://solidfiles.com/d/Q378


Newest release: http://solidfiles.com/d/OOeP

Install


To install my include follow the given points!

Example


eMines filterscript: http://forum.sa-mp.com/index.php?topic=138419.0


Note


Sorry for my bad english, and no mirrors pls!

PS: Thank you for the 166 downloads at the older versions!

Epsilon



Re: [INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon - Correlli - 27.08.2009

Not bad.


Re: [INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon - _[HuN]_Epsilon_ - 27.08.2009

Thanx

Updated! More in the main post!


Epsilon


Re: [INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon - SergiKirov - 27.08.2009

looks interesting!


Re: [INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon - _[HuN]_Epsilon_ - 02.12.2009

Thanks


Re: [INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon - [NYRP]Mike. - 02.12.2009

Nice work, dont think i've seen one of these before, keep it up

-©un3o.


Re: [INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon - _[HuN]_Epsilon_ - 02.12.2009

Thank you


Re: [INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon - _[HuN]_Epsilon_ - 12.12.2009


___________ New version____________
released
Check the main post!

Epsilon


Re: [INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon - Lotusmp - 12.12.2009

Not bad!


Re: [INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon - _[HuN]_Epsilon_ - 13.12.2009

Thanks