[FilterScript] Checkpoint Streamer
#1

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.
Reply


Messages In This Thread
Checkpoint Streamer - by SKAzini - 27.06.2012, 13:46
Re: Checkpoint Streamer - by SKAzini - 09.08.2012, 16:54
Re: Checkpoint Streamer - by Ben_Gale - 09.08.2012, 17:20
Re: Checkpoint Streamer - by lamarr007 - 09.08.2012, 20:34
Re: Checkpoint Streamer - by SKAzini - 19.08.2012, 12:25
Re : Checkpoint Streamer - by DaTa[X] - 19.08.2012, 12:28
Re: Checkpoint Streamer - by SKAzini - 15.09.2012, 13:36
Re: Checkpoint Streamer - by xMaGmOtAnEtHx - 15.09.2012, 22:13
Re: Checkpoint Streamer - by SKAzini - 22.09.2012, 19:40
Re: Checkpoint Streamer - by Eugene. - 23.09.2012, 01:34

Forum Jump:


Users browsing this thread: 1 Guest(s)