18.03.2011, 13:48
(
Последний раз редактировалось CyNiC; 18.03.2011 в 14:23.
)
- Insanity Invisible Checkpoints -
Descrition
It allows you to create invisible checkpoints for check when the player enterDescrition
on invisible checkpoint with a vehicle or not.
Authors
Allan Jader (CyNiC)Babul: colaborated with the function: CreatePickupsInCircle
http://forum.sa-mp.com/showpost.php?...85&postcount=5
Note
You can change how much you want the include, leaving the credit to creator.Configuration
pawn Код:
#define MAX_AREAS 50 // Amount of checkpoints, the less is better for performance
#define REAPPLY_CPS_TIMER 5000 // Timer in miliseconds for reactivate the checkpoint for player
//Put in your OnPlayerPickUpPickup callback:
InvisibleCheckpoints(playerid, pickupid);
Functions
pawn Код:
CreateIPlayerCheckpoint(Float:X, Float:Y, Float:Z, Float:size);
CreateIVehicleCheckpoint(Float:X, Float:Y, Float:Z, Float:size);
DestroyCheckpoint(checkpointid);
Callbacks
pawn Код:
OnPlayerEnterICheckpoint(playerid, checkpointid)
OnVehicleEnterICheckpoint(playerid, vehicleid, checkpointid)
Download
http://www.4shared.com/file/0vw8oxPR/invisiblecps.html