Crosshair
Adds a customizable crosshair to your screen
Total Downloads: 9,885 - First Release: Jul 17, 2015 - Last Update: Jul 1, 2017
- 5/5, 26 likes
-
-
Error Crosshair plugin failed to compile. error CS0117: 'BUTTON' does not contain a definition for 'INVENTORY'
Anyone know how to fix this? -
-
I've tried reloading the plugin and i can send you the exact error codes and syntax that the console posts.
> oxide.reload Crosshair
[Oxide] 3:14 PM [Error] Crosshair plugin failed to compile!
[Oxide] 3:14 PM [Error] Crosshair.cs(60,35): error CS0117: `BUTTON' does not contain a definition for `INVENTORY' -
Yea it dosen't work for me either, dont know why.
-
Doesnt work. sorry dont download yet. waiting patch
-
Currently its hard to impossible to detect if the inventory is opened. So If I update it now, the crosshair will propably be on the screen always for now.
-
That will work for me.
-
I posted a version in the past here ==> Crosshair | Page 6 | Oxide
This is another version which I've updated the weapons.
Basically, it only shows the crosshair on right-mouse click (aiming) and only when holding certain weapons. This ensures no hip-shot crosshair and no inventory open issues. It also detects if you have a holosight on the weapon and doesn't display the crosshair.
Use these weapons OR modify the plugin code for your needs.
Code:var WeaponsList = new List<string> { "bow.hunting", "crossbow", "lmg.m249", "pistol.eoka", "pistol.revolver", "pistol.semiauto", "rifle.bolt", "rifle.ak", "rifle.semiauto", "rocket.launcher", "shotgun.pump", "shotgun.waterpipe", "smg.thompson ", "smg.2 ", "spear.stone", "spear.wooden" };
Attached Files:
-
-
Need some help pls
crosshair.use does not work, console is replying with : invalid commandLast edited by a moderator: Jan 22, 2016 -
You needto give permission to the plugin by using the "grant" console command ( syntax - "grant [user or group] username permission" ) -
You have a trick to replace the crosshair with a picture ?
I always get a white square : /Last edited by a moderator: Jan 26, 2016 -
possible to make it always enabled (instead of right click only)
-
Sorry for this time of unmaintainance, I will update this today to atleast compile again.
-
Thanks!
-
-
[Error] Crosshair.cs(60,35): error CS0117: `BUTTON' does not contain a definition for `INVENTORY'
-
Still not fixed I believe
-