[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
#2

I'd like to hear your opinions.
Reply
#3

Pics?
Reply
#4

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

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

nice work
Reply
#7

I'd like to hear your opinions.
Reply
#8

pretty cool
Reply
#9

V0.3 released. Not much done, tho.
Reply
#10

Can you add some pictures please ? Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)