Weapons On Back [Obsolete]

Renders the player's best weapon on their back, and best sidearm on their hip

Total Downloads: 6,726 - First Release: Oct 25, 2016 - Last Update: Jan 31, 2017

5/5, 35 likes
  1. Jake Rich submitted a new resource:

    Weapons On Back - Renders the player's best weapon on their back, and best sidearm on their hip

    Read more about this resource...
     
  2. WOWWW!!!! Its incredible plugin! Very nice job!!! :) :) :)
     
  3. Code:
    (17:59:08) | [Oxide] 17:59 [Error] Failed to call hook 'OnEntityDeath' on plugin 'WeaponsOnBack v0.1.0' (KeyNotFoundException: The given key was not present in the dictionary.)
    (17:59:08) | [Oxide] 17:59 [Debug] at System.Collections.Generic.Dictionary`2[BasePlayer,Oxide.Plugins.WeaponsOnBack+WeaponData].get_Item (.BasePlayer key) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.WeaponsOnBack.OnEntityDeath (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.WeaponsOnBack.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Oct 25, 2016
  4. Awesome work dude BRILLIANT!!!!!!
     
  5. lol aswsome
     
  6. hello guys :)
    I have a question you must enter / weaponsonback display mode 0 in the chat so the weapons of a player land on the back? ^ ^ There is the possibility to adjust the man automatically the weapons always on the back has :) ? and /wd 1 or /wd 2 its a lil bit shorter, thanks for read !



    hightower
     
    Last edited by a moderator: Oct 25, 2016
  7. Would it be possible to turn off writing to console every time someone changes weapons, its spammin the shit out of it lmao!!!!!!
     
  8. 1. It is necessary to disable the spam in the console
    2. If you have a lot of guns in inventory (more than two) models are superimposed on each other or just hanging only one that has been used before?
    3. When you throw out all the weapons from the inventory it still remains a previous weapon behind back.

    Sorry for my french :)
     
  9. Thank you people who were able to report issues, they are all fixed :)

    Fixed.

    1. Fixed spam, accidently left something I was using when debugging.
    2. It should only show your best gun, that you are not currently holding. Are you saying that it is showing multiple weapons on your back at once?
    3. Fixed as well, good thing you spotted this. I missed it when testing.
    [DOUBLEPOST=1477412725][/DOUBLEPOST]
    Great idea, I will make it a simple command :)
     
  10. Jake Rich updated Weapons On Back with a new update entry:

    0.04

     
  11. Teams can be easily changed in the source file.
     
  12. 17:44 [Info] Loaded plugin WeaponsShownOnBack v0.1.0 by Jake_Rich
    17:44 [Error] Failed to initialize plugin 'WeaponsOnBack v0.1.0' (ArgumentException: An element with the same key already exists in the dictionary.)
    17:44 [Debug] at System.Collections.Generic.Dictionary`2[BasePlayer,Oxide.Plugins.WeaponsOnBack+WeaponData].Add (.BasePlayer key, Oxide.Plugins.WeaponData value) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.WeaponsOnBack.Loaded () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.WeaponsOnBack.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    17:44 [Info] Unloaded plugin WeaponsShownOnBack v0.1.0 by Jake_Rich
    17:44 [Info] Previous version of plugin failed to load: WeaponsOnBack
    <filename unknown>:0
     
  13. When to throw the weapon in the console writes:

    Invalid Position: generic_world [10597422] (253.9, -5009.9, -264.1) (destroying)
    Invalid Position: generic_world [10597450] (224.7, -5035.7, -273.5) (destroying)
    Invalid Position: generic_world [10597453] (243.9, -5023.5, -261.3) (destroying)
    Invalid Position: generic_world [10597464] (224.6, -5016.6, -260.5) (destroying)
    Invalid Position: generic_world [10597509] (247.2, -5007.7, -271.8) (destroying)
    [DOUBLEPOST=1477414808][/DOUBLEPOST]
    i hav't this error.
     
  14. Bizzare, loaded again for the 4th time and it doesn't give the error now, and I did delete the config file mmmmm. Well all good !
     
  15. Jake Rich updated Weapons On Back with a new update entry:

    0.0.5

     
  16. Awesome!
     
  17. When i put weapon back it not showing. Is that normal?
     
  18. CHR

    CHR

    Awesome plugin i hope Performance is good with a lot of Players!
     
  19. Will keep a close eye on this, Seems more RP then anything, but still, a nice idea, ill give it a run later with my server.
     
  20. Very nice plugin!

    One small error or problem, I have it set to "weapondisplay 0" if you only have 1 weapon in hotbar, when you equip it, it disappears off of your back (so it should), but when you holster the gun again, it does not reappear on your back. Seems to work fine when you have 2 or more weapon in hotbar, but with only 1, it does not go back.