SA-MP Forums Archive
[Include] [INC] LCS 1.1.1 [REL: 6 Aug 2008]| Checkpoint Streamer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] LCS 1.1.1 [REL: 6 Aug 2008]| Checkpoint Streamer (/showthread.php?tid=23120)

Pages: 1 2


Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - [LDT]LuxurY - 08.02.2008

Quote:
Originally Posted by [NoL
Puffmac ]
Does this support distance spawning too? :S
What distance? Dynamic checkpoint will be deleted if the distance over than 50 (as I remember)
or i didn't understand? :P


Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - Numhaken - 08.02.2008

Quote:
Originally Posted by [LDT
LuxurY ]
Quote:
Originally Posted by [NoL
Puffmac ]
Does this support distance spawning too? :S
What distance? Dynamic checkpoint will be deleted if the distance over than 50 (as I remember)
or i didn't understand? :P
Another nice script from Luxury, want a mirror?


Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - [LDT]LuxurY - 08.02.2008

Quote:
Originally Posted by Numhaken
Quote:
Originally Posted by [LDT
LuxurY ]
Quote:
Originally Posted by [NoL
Puffmac ]
Does this support distance spawning too? :S
What distance? Dynamic checkpoint will be deleted if the distance over than 50 (as I remember)
or i didn't understand? :P
Another nice script from Luxury, want a mirror?
thanks, sure!


Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - Numhaken - 08.02.2008

http://www.crazyhost.info/download.p...e=375LCS11.rar


Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - snipe69 - 08.02.2008

but what i would love if it had race checkpoint too


Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - Pro - 16.03.2008

Nice script!

I dont get it, How do I create static checkpoints, for a specific player?

It would be nice if there was a LCS_CreatePlayerCheckpoint(playerid,checkpointid,x ,y,z,size); though. Instead of just LCS_CreateStaticCheck



Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - On_Top_Non_Stop - 28.03.2008

I have 3 buggs you may have ideas on how to fix them?


Floating checkpoint - Spawned next to it. fixes if u tele away and back.
Giant Checkpoint - /rcon gmx and all checkpoints were huge, fixes after 2 gmx's
no check - teleported , it was invisible but i could still use it. fixes if u tele away and back.

Very nice script btw , just what i needed


Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - Polar - 27.04.2008

These are the errors i get from your script :

Code:
D:\GTA MP Server\pawno\include\LCS.inc(38) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(49) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(61) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(95) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(125) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(135) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(145) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(152) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(193) : error 004: function "LCS_OnPlayerEnterCheckpoint" is not implemented
D:\GTA MP Server\pawno\include\LCS.inc(199) : error 004: function "LCS_OnPlayerLeaveCheckpoint" is not implemented
Those are in LCS.inc

My scripts gives this errors now :

Code:
D:\GTA MP Server\gamemodes\mygamemode.pwn(366) : error 021: symbol already defined: "OnPlayerEnterCheckpoint"
D:\GTA MP Server\gamemodes\mygamemode.pwn(371) : error 021: symbol already defined: "OnPlayerLeaveCheckpoint"
How can i fix that ?


Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - hoodline - 27.04.2008

Quote:
Originally Posted by Polar
These are the errors i get from your script :

Code:
D:\GTA MP Server\pawno\include\LCS.inc(38) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(49) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(61) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(95) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(125) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(135) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(145) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(152) : warning 219: local variable "checkpointid" shadows a variable at a preceding level
D:\GTA MP Server\pawno\include\LCS.inc(193) : error 004: function "LCS_OnPlayerEnterCheckpoint" is not implemented
D:\GTA MP Server\pawno\include\LCS.inc(199) : error 004: function "LCS_OnPlayerLeaveCheckpoint" is not implemented
Those are in LCS.inc

My scripts gives this errors now :

Code:
D:\GTA MP Server\gamemodes\mygamemode.pwn(366) : error 021: symbol already defined: "OnPlayerEnterCheckpoint"
D:\GTA MP Server\gamemodes\mygamemode.pwn(371) : error 021: symbol already defined: "OnPlayerLeaveCheckpoint"
How can i fix that ?
make the checkpointid varible global put it at the top of your script


Re: [INC] LCS 1.1 [REL: 22 Jan 2008]| Checkpoint Streamer - Mynde[W] - 12.07.2008

Why checkpoint dont disappear when i am far of it?


Re: [INC] LCS 1.1.1 [REL: 6 Aug 2008]| Checkpoint Streamer - [LDT]LuxurY - 01.11.2011

Quote:
Originally Posted by DrDoom151
View Post
I noticed the same thing.
Any chance you could fix this?
Except for this bug, I think this is an extremely user-friendly and well working streamer! Great job.
I guess the problem starts here:

Code:
stock LCS_DestroyCheckpoint( checkpointid )
{
	if ( LCS_IsValidCheckpoint( checkpointid ) == 1 )
	{
		dyncheckcoords[LCScount][0] = 0;
		dyncheckcoords[LCScount][1] = 0;
		dyncheckcoords[LCScount][2] = 0;
		dyncheckcoords[LCScount][3] = 0;
	}
	return checkpointid;
}
Replace LCScount with checkpointid. Probably it was just copy-pasted from another function, sorry.

Finally, something like that (edit the include file):
Code:
stock LCS_DestroyCheckpoint( checkpointid )
{
	if ( LCS_IsValidCheckpoint( checkpointid ) == 1 )
	{
		dyncheckcoords[checkpointid][0] = 0;
		dyncheckcoords[checkpointid][1] = 0;
		dyncheckcoords[checkpointid][2] = 0;
		dyncheckcoords[checkpointid][3] = 0;
	}
	return checkpointid;
}