CreateDynamicCP randomly disappearing?
#1

I have this weird problem, where only 1 checkpoint is shown at a time and the others disappear.

This is the code (in a loop OnGamemodeInit):

Код:
CreateDynamicCP(portalPositions[i][0], portalPositions[i][1], portalPositions[i][2], 1.5, -1, -1, -1, 400.0);
And the issue (GIF): https://gyazo.com/9b08ef52fff42d85358172feae0f8e8c

What am I missing here? Why are they flickering and not showing at the same time?
Reply
#2

As far as I'm concerned a player can only see one checkpoint at a time using streamer. I don't know if you could use the function:

Код:
Streamer_SetVisibleItems(type, items, playerid = -1);
Perhaps, that function could increase the number of checkpoints a player can see at a time, I'm unsure if it would work though.
Reply
#3

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
As far as I'm concerned a player can only see one checkpoint at a time using streamer. I don't know if you could use the function:

Код:
Streamer_SetVisibleItems(type, items, playerid = -1);
Perhaps, that function could increase the number of checkpoints a player can see at a time, I'm unsure if it would work though.
Youґre right, unfortunately that native cannot be used with CPs. I guess Iґll have to figure out another way. Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)