SA-MP Forums Archive
[Include] Coloured checkpoints - 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)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Coloured checkpoints (/showthread.php?tid=536253)



Coloured checkpoints - dusk - 08.09.2014



This include will allow you to easily create various colour checkpoints.

This idea was originally posted by Vince here.

Functions

It has several functions for creating, destroying and manipulating checkpoints:
pawn Код:
CreateColouredCheckpoint(Float:x,Float:y,Float:z,color)
DestroyColouredCheckpoint(cpid)
IsPlayerInAnyColouredCheckpoint(playerid)
IsPlayerInColouredCheckpoint(playerid,cpid)
ChangeColouredCheckpointColour(cpid,newcolor)
As well as two callbacks:
pawn Код:
forward OnPlayerExitColouredCheckpoint(playerid,cpid);
forward OnPlayerEnterColouredCheckpoint(playerid,cpid);

Download
Pastebin
SolidFiles


All feedback is appreciated


Re: Coloured checkpoints - VinPure - 08.09.2014

Nice and +Rep


Re: Coloured checkpoints - Stinged - 08.09.2014

Add that it needs Incognito's Streamer Plugin.


Re: Coloured checkpoints - iFarbod - 08.09.2014

Very nice, i love the dynamic areas!


Re: Coloured checkpoints - dusk - 08.09.2014

Quote:
Originally Posted by Stinged
Посмотреть сообщение
No, it does not. Although, if the streamer is included BEFORE my include, it will be used. But it's fully functional without it.


Re: Coloured checkpoints - Stinged - 08.09.2014

Quote:
Originally Posted by dusk
Посмотреть сообщение
No, it does not. Although, if the streamer is included BEFORE my include, it will be used. But it's fully functional without it.
Oh sorry, I didn't check the whole code.


Re: Coloured checkpoints - SoldadoH - 08.09.2014

nice


Re: Coloured checkpoints - JonathanW - 09.09.2014

Awesome!!


Re: Coloured checkpoints - Winchaster - 09.09.2014

Super!
I will surely use it!


Re: Coloured checkpoints - Excel™ - 21.09.2014

Doesn't actually pretends to be as a checkpoint rather than an object. I will prefer kinghual plugin instead. But still good efforts.


Re: Coloured checkpoints - OKStyle - 01.02.2017

Quote:
Originally Posted by dusk
Посмотреть сообщение
This idea was originally posted by Vince here.
orly? https://sampforum.blast.hk/showthread.php?tid=341455


Re: Coloured checkpoints - CantBeJohn - 01.02.2017

Quote:
Originally Posted by OKStyle
Посмотреть сообщение
I guess it took you three years to find this thread, huh.


Re: Coloured checkpoints - PhamHoang - 13.02.2017

great job!