Incognito Streamer Checkpoint question
#1

Good Day.

I'm using Incognito Streamer to spawn CP.

I did following:

Код:
public OnPlayerSpawn(playerid)
{
   CreateDynamicCP(-2112.7422,-753.4459,32.1719, 10);
   CreateDynamicCP(-2112.9177,-760.9539,32.1719, 10);
   return 1;
}
But when I was spawned, i saw nothing. I thouth that it happens because of default distance is 100.0.

Код:
native CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Here https://sampforum.blast.hk/showthread.php?tid=102865 Incognito writes:
- There is a global cell that contains all items with streaming distances greater than the current cell distance. This is to ensure that items which need to be visible from any point on the map (map icons, for example) are not bound to any cell that is too far away from the player. It is recommended, however, to limit the number of items in the global cell, because they do not benefit from spatial indexing. The more items in this cell, the less efficient the streaming process will become, so only put items here which need to be visible from very far away. (For instance, a checkpoint with a streaming distance of 1000.0 while the current cell distance is 450.0 will be put in the global cell.)

Well, I fixed my code:
Код:
public OnPlayerSpawn(playerid)
{
    CreateDynamicCP(-2112.7422,-753.4459,32.1719, 10, -1, -1, -1, 10000.0);
    CreateDynamicCP(-2112.9177,-760.9539,32.1719, 10, -1, -1, -1, 10000.0); 
}
Now i can see only one (nearest, as i think) checkpoint. Am i doing something wrong?

So, is it possible to show more then one checkpoint at the same time using this streamer? How can i do that? If it is no possible, please recommend which plugin can do it and can work togehter with incognito streamer?
Reply
#2

Oh I misread as Race CP, no SA-MP Limit is 1 Checkpoint.
https://sampwiki.blast.hk/wiki/Limits
It is not possible to have multiple checkpoints on any plugins.
Reply
#3

And is it possible to show two ore more Race CP at the same time?
Reply
#4

No, the streamer destroys the checkpoint when you are out of range. Only one checkpoint (of each type) can be displayed to a single player at any one time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)