11.11.2018, 18:57
(
Последний раз редактировалось NaS; 11.11.2018 в 19:27.
)
Item toggling through that native isn't always updated when it's called. You can also add/remove an ID from the playerid array using Streamer_AppendArrayData and Streamer_RemoveArrayData on E_PLAYER_ID.
But the problem might not even be related to that.
Pickups are global, so if ANY player is near a dynamic pickup that is streamed for them it will appear for everyone (since a global pickup will be created).
Making Pickups togglable per player will never really work because of that. You can only disable the functionality per-player.
If it's absolutely neccessary to have it per-player you could reside to an object combined with a dynamic area, which will be truly per-player.
But the problem might not even be related to that.
Pickups are global, so if ANY player is near a dynamic pickup that is streamed for them it will appear for everyone (since a global pickup will be created).
Making Pickups togglable per player will never really work because of that. You can only disable the functionality per-player.
If it's absolutely neccessary to have it per-player you could reside to an object combined with a dynamic area, which will be truly per-player.