Is there a way to enable this for everyone without having to use a command, and then just be able to have the players turn it off if they use the command. Having to set perms for each user is not a fun way of doing this.
Crosshair
Adds a customizable crosshair to your screen
Total Downloads: 9,866 - First Release: Jul 17, 2015 - Last Update: Jul 1, 2017
- 5/5, 26 likes
-
-
Thank You,
I tried it, its a new server so I will have to wait until one of my m8's join in the morning or some random person.
I will let you know if it doesnt work
Thanks Again -
I keep having the crosshairs vanish
-
-
Wulf Community Admin
-
CosaNostra
-
after looking at the key.cfg, it appears to be both ESC and TAB that was randomly turning this mod off and on.
-
i installed the plugin and tried to press F5 to change cross hair and no works . pls help me
-
[DOUBLEPOST=1481168115][/DOUBLEPOST]also just noticed you're replying to the wrong plugin for this... its a different mod that has the F5 as a keybind...
[DOUBLEPOST=1481168186][/DOUBLEPOST]I believe you're looking for ShowCrosshair for Rust | Oxide -
yuo are rigth, thanke for your help
-
"
> grant group default crosshair.use
Permission 'crosshair.use' doesn't exist
" -
-
Hello, i get this error:
-
Error while compiling: Crosshair.cs(190,53): error CS1061: Type `ConsoleSystem.Arg' does not contain a definition for `connection' and no extension method `connection' of type `ConsoleSystem.Arg' could be found. Are you missing an assembly reference?
I checked the references that had changed listed by Wulf but can't see any that are relevant. I presume it's this bit of code here that needs updating.
Code:[ConsoleCommand("toggle.crosshair")] void ToggleCrosshair(ConsoleSystem.Arg arg) { if (arg != null && arg?.connection != null && arg?.connection?.player != null) { BasePlayer player = (BasePlayer)arg.connection.player; if (inventory.Contains(player)) { DrawCrosshair(player); inventory.Remove(player); } else { DestroyCrosshair(player); inventory.Add(player); } } }
This pugin is working.
ShowCrosshair for Rust | OxideLast edited by a moderator: Mar 24, 2017 -
Wulf Community Admin
-
-
-
Perfect - Thanks very much Mughisi.
-
Would anyone still like this? I have an almost completed new version however it doesn't look like it's useful anymore with the addition of the new crosshair plugin.