SA-MP Forums Archive
[FilterScript] Checkpoint Streamer - 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: [FilterScript] Checkpoint Streamer (/showthread.php?tid=354636)



Checkpoint Streamer - SKAzini - 27.06.2012

Yes, this has been done multiple times, BUT.
This one is (in my opinion) the smallest Checkpoint Streamer and it has an anti-loop fix implemented (by saving into a variable).



.zip Version 0.3: Here
Pastebin Version 0.3: Here

Old versions:

.zip Version 0.2: Here
Pastebin Version 0.2: Here

.zip Version 0.1: Here
Pastebin Version 0.1: Here

Configuration:

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
if(GetDistanceToPoint(playerid,2096, 1287, 10)<=2)
The coordinates is defined as "2096, 1287, 10" in this case, the "<=2" defines the minimum required coordinate distance, from the defined coordinates.

pawn Код:
public CheckpointCheck()
if(GetDistanceToPoint(i, 2096, 1287, 10)<=30)
The coords, as before stated is "2096, 1287, 10" and the "<=30" here defines how long away from that coordinate you must be at a minimum to be able to see that checkpoint at that place.
pawn Код:
SetPlayerCheckpoint(i, 2096, 1287, 10, 2);
Defines the checkpoint placement (the coordinates, before-stated as 2096, 1287, 10) and checkpoint type, 2.

Changelog:

Код:
V0.3:
Renamed timer and message variable. The message variable is now a boolean.
Syntax modified.
V0.2:
Better identiation.
Missing/incorrect brackets fixed.
V0.1:
Released CP streamer.



Re: Checkpoint Streamer - SKAzini - 09.08.2012

I'd like to hear your opinions.


Re: Checkpoint Streamer - Ben_Gale - 09.08.2012

Pics?


Re: Checkpoint Streamer - lamarr007 - 09.08.2012

Why pics omg?!
Anyway, nice work, i will use it +rep


Re: Checkpoint Streamer - SKAzini - 19.08.2012

Version 0.2 released, not a critical update which improves the scripts too much, only its readability.


Re : Checkpoint Streamer - DaTa[X] - 19.08.2012

nice work


Re: Checkpoint Streamer - SKAzini - 15.09.2012

I'd like to hear your opinions.


Re: Checkpoint Streamer - xMaGmOtAnEtHx - 15.09.2012

pretty cool


Re: Checkpoint Streamer - SKAzini - 22.09.2012

V0.3 released. Not much done, tho.


Re: Checkpoint Streamer - Eugene. - 23.09.2012

Can you add some pictures please ? Thank you.