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
  1. Laser this plugin not work on 1340. Don't load.
     
  2. Known to me. I am not at home so it is not easy or me to fix such as I do not have a testserver here neither is Rust running good on this computer.
     
  3. Error Crosshair plugin failed to compile. error CS0117: 'BUTTON' does not contain a definition for 'INVENTORY'
    Anyone know how to fix this?
     
  4. I am currently not at home and can't do alot of fixing here. I' d be happy if somebody else could provide a quick fix. Maybe I'd get it fixed myself without testing.
     
  5. 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'
     
  6. Yea it dosen't work for me either, dont know why.
     
  7. Doesnt work. sorry dont download yet. waiting patch
     
  8. 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.
     
  9. That will work for me.
     
  10. 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"
                };
    The config uses a dot "•" for the crosshair
     

    Attached Files:

  11. Need some help pls

    crosshair.use does not work, console is replying with : invalid command
     
    Last edited by a moderator: Jan 22, 2016
  12. You need to read this: Using Oxide's permission system | Oxide

    You needto give permission to the plugin by using the "grant" console command ( syntax - "grant [user or group] username permission" )
     
  13. 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
  14. Axy

    Axy

    possible to make it always enabled (instead of right click only)
     
  15. Sorry for this time of unmaintainance, I will update this today to atleast compile again.
     
  16. Axy

    Axy

    Thanks!
     
  17. Thanks
     
  18. [Error] Crosshair.cs(60,35): error CS0117: `BUTTON' does not contain a definition for `INVENTORY'
     
  19. Axy

    Axy

    Still not fixed I believe
     
  20. LaserHydra updated Crosshair with a new update entry:

    1.3.2