08.09.2014, 13:50
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)
pawn Код:
forward OnPlayerExitColouredCheckpoint(playerid,cpid);
forward OnPlayerEnterColouredCheckpoint(playerid,cpid);
Download
Pastebin
SolidFiles
All feedback is appreciated