[Include] [INC] LCS 1.1.1 [REL: 6 Aug 2008]| Checkpoint Streamer
#1

Checkpoint Streamer
Update 1.1 - > 1.1.1
fixed: dissapearing of checkpoint depends on distance
edit MAX_CHDIS if you want more distance (default: 50.0)
bonus: complitely indented code.

So, the number of checkpoint defined to 1024, but it can be changed by yourself. It can be unlimited. :P

So, functions:
LCS_Load(); //put in OnGameModeInit
LCS_SetPlayerStaticCheck(playerid,checkpointid);
LCS_RemovePlayerStaticCheck(playerid);
LCS_GetPlayerStaticCheck(playerid);
LCS_CreateCheckpoint(Float,Float:y,Float:z,Float ize);
LCS_IsValidCheckpoint(checkpointid);
LCS_DestroyCheckpoint(checkpointid);
LCS_GetCheckpointData(checkpointid,&Float,&Float :y,&Float:z,&Floatize);
LCS_GetClosestCheckpoint(playerid);
LCS_IsPlayerInCheckpoint(playerid,checkpointid);
LCS_SetCheckpointData(checkpointid,Float,Float:y ,Float:z,Floatize);
LCS_GetPlayerCheckpointIn(playerid);
LCS_IsPlayerInAnyCheckpoint(playerid);
LCS_IsAnyPlayerInCheckpoint(checkpointid);



Callbacks:
LCS_OnPlayerEnterCheckpoint(playerid,checkpointid) ;
LCS_OnPlayerLeaveCheckpoint(playerid,checkpointid) ;



Install:
1. Put LCS.inc in directory .../pawno/include/
2. Put #include <LCS> in your script (after #include <a_samp>)
3. Put LCS_Load(); in OnGameModeInit() or OnFilterScriptInit()

Download v.1.1.1:
Pastebin
GTAscript.ru
SendSpace.com
RapidShare.com

Download v.1.1:
GTAscript.ru
SendSpace.com
RapidShare.com


Download v.1.0:
GTAscript.ru
SendSpace.com
RapidShare.com

Report bugs if they exist.

Cheers, LuxurY.
Reply


Messages In This Thread
[INC] LCS 1.1.1 [REL: 6 Aug 2008]| Checkpoint Streamer - by [LDT]LuxurY - 21.01.2008, 11:39
Re: [INC] LCS [1.0] | Checkpoint Streamer - by Jashugan - 21.01.2008, 11:50
Re: [INC] LCS [1.0] | Checkpoint Streamer - by cmg4life - 21.01.2008, 12:59
Re: [INC] LCS [1.0] | Checkpoint Streamer - by Grove - 21.01.2008, 13:32
Re: [INC] LCS [1.0] | Checkpoint Streamer - by Jashugan - 21.01.2008, 14:22
Re: [INC] LCS [1.0] | Checkpoint Streamer - by [LDT]LuxurY - 21.01.2008, 14:28
Re: [INC] LCS [1.0] | Checkpoint Streamer - by Zaka - 21.01.2008, 14:33
Re: [INC] LCS [1.0] | Checkpoint Streamer - by Jashugan - 21.01.2008, 16:09
Re: [INC] LCS [1.0] | Checkpoint Streamer - by snipe69 - 21.01.2008, 16:13
Re: [INC] LCS [1.0] | Checkpoint Streamer - by [LDT]LuxurY - 22.01.2008, 09:47
Re: [INC] LCS [1.0] | Checkpoint Streamer - by Rafelder_GRF - 22.01.2008, 13:31
Re: [INC] LCS [1.0] | Checkpoint Streamer - by [LDT]LuxurY - 22.01.2008, 16:13
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by snipe69 - 23.01.2008, 15:48
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by [LDT]LuxurY - 23.01.2008, 16:29
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by rawen360 - 06.02.2008, 14:06
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by rawen360 - 06.02.2008, 14:06
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by [LDT]LuxurY - 06.02.2008, 15:14
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by rawen360 - 07.02.2008, 14:43
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by [LDT]LuxurY - 07.02.2008, 15:27
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by Puffmac - 07.02.2008, 16:48
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by [LDT]LuxurY - 08.02.2008, 11:34
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by Numhaken - 08.02.2008, 14:57
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by [LDT]LuxurY - 08.02.2008, 15:52
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by Numhaken - 08.02.2008, 15:54
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by snipe69 - 08.02.2008, 16:10
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by Pro - 16.03.2008, 20:28
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by On_Top_Non_Stop - 28.03.2008, 10:10
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by Polar - 27.04.2008, 11:25
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by hoodline - 27.04.2008, 12:00
Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - by Mynde[W] - 12.07.2008, 04:23
Re: [INC] LCS 1.1.1 [REL: 6 Aug 2008]| Checkpoint Streamer - by [LDT]LuxurY - 01.11.2011, 19:18

Forum Jump:


Users browsing this thread: 6 Guest(s)