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

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
Reply
#22

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?
Reply
#23

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!
Reply
#24

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

but what i would love if it had race checkpoint too
Reply
#26

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
Reply
#27

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
Reply
#28

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 ?
Reply
#29

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
Reply
#30

Why checkpoint dont disappear when i am far of it?
Reply
#31

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;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)