Genericradiusmarker, make it performance issue?
Hello, i test and create some "assets/prefabs/tools/map/genericradiusmarker.prefab" on the map, to mark some special areas on our map.
So now my questions, make it some performance issue for server or client side ?

if i create some map marks
nljHLzY.png
all palyers who was online see this on the map, but if a player disconnect, and connect again so they dont see this marker any more on the map. how i can prevent it so it dont disappear and all palyers see it every time?

i think maybe this can work?
void OnPlayerInit(BasePlayer player)
{
    Puts("OnPlayerInit works!");
}​

or i use a repeat timer?
timer.Repeat(5f, 0, () =>
{
    Puts("Hello world!")
});​

or any other suggestions for me?

thanks

You can use OnPlayerInit :). For my own usage, I hide GUI OnPlayersleep and I show this OnPlayerSleepEnded. For player deconnection it’s work.
thx for reply. i try later at the weekend more tests. and what about performance did it creates lag spikes clientside for players what do u think?
I think that if you don't refresh the markers every second and keep an instance of the markers there shouldn't be any problem. It's only my humble opinion and all that's pure speculation about performance.
ok, thx