Checkpoint size problem. - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Checkpoint size problem. (
/showthread.php?tid=525221)
Checkpoint size problem. -
mirou123 - 10.07.2014
I think this is a known bug, where if you set a checkpoint it will take the size of the last one. I checked the fixes.inc, and all they do is disable the checkpoint before settting the new one. But for some reason it's not working. I even tries setting a checkpoint with size of 10.0 then I used this command:
Код:
YCMD:test(playerid, params[], help)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, 0.0, 0.0, 5.0, 2.0);
return 1;
}
But the size is still 10.0.
So is there anyway to fix this bug? And if you gonna suggest that I use a streamer, then what should the streaming distance be? I want it to be seen all the time from any location.
Re : Checkpoint size problem. -
S4t3K - 10.07.2014
The streaming distance would be when the player sees the real checkpoint, not the map marker.
Re : Checkpoint size problem. -
mirou123 - 10.07.2014
Oh I see, thanks. I discovered that the checkpoint will have the right size if I die. Anyway, I will try to use a streamer for the checkpoint in hope of fixing this problem. and +rep'ed thanks for answering.
I tried the streamer, but the marker will only appear if I am close to the checkpoint :/
Re: Checkpoint size problem. -
Raidensama - 12.02.2015
it happens also with streamers if checkpoints' stream radiuses interfere each other
PHP код:
TogglePlayerAllDynamicCPs(playerid,true);
returns CPs their own sizes