1. Hello, i know it is possible create a radius marker on the default rust map via plugin, as example
    https://i.imgur.com/mim112P.png

    so now my question is it possible create custom text bars on the default rust map or a "fake" vending machine with custom name. it shows all the time or just if u move your mouse over?

    the idea behinde is create a new map plugin where u can see friends and/or clan members and maybe other things ex. heli, airdrop and many more? for example like this

    https://i.imgur.com/cF5TAhF.png
    https://i.imgur.com/1r3Agmz.png

    if you open the map u see a GUI with diffrent colors and the meaning of the diffrent colors.
     
  2. I don't think that's possible right now because the map is treated as a single entity shared accross all users, the radius marker for example, can not be placed for a specific user.
     
  3. oh damned, ok i thought u can create map radius marker just for specific players, so u can as example just show/track aidrops, helis (optional cars) on the map. and what about text bars would this work ?
     
  4. If I remember correctly, you can make the map marker appear only for selected users by using CanNetworkTo.
     
  5. So you have some sample code using it ?
     
  6. Code:
    object CanNetworkTo(BaseNetworkable entity, BasePlayer player)
            {
                if (entity == null || player == null) return null;
                if (entity.ShortPrefabName == "genericradiusmarker" && !player.IsAdmin) return false;
                return null;
            }
    Should work. I didn't have an example saved on hand, so I just wrote this one up and didn't test it. I'm 99% sure I've accomplished it before, and I think all it took was CanNetworkTo, so this should work.
     
  7. but wouldnt that prevent any non-admin player from seeing ANY marker?
     
  8. Yes, but it was just an example.
     
  9. ok ok i'm just starting coding, got me confused :p