Give

Moved

Total Downloads: 21,435 - First Release: Oct 21, 2014 - Last Update: Mar 9, 2017

5/5, 35 likes
  1. Im trying to use this command /give "Cooked Chicken" 1 but it keeps saying you can not use this command on someone else and im the owner
     
  2. Have you made yourself an admin in the config file?
    [DOUBLEPOST=1423142301,1423129221][/DOUBLEPOST]How do you give yourself the bear trap bp? Cant seem to work out the right command.
    [DOUBLEPOST=1423142469][/DOUBLEPOST]Okay all good got it.
     
  3. Reneb, thank you for plugin...

    I'm using your plugin in my shop, but one times command not recieving... I don't know, 95% transactions works fine, but another 5% - bad.

    Maybe something that will check command came or not? Thanks.
     
  4. you sure it's not because an item is invalid?
     
  5. I'm sure, really.

    95% normal, but 5% don't giving to people...
     
  6. And you sûre it's because of this plugin? Not the shop ^^? Any errors poping up?
    Best thing would be for you to debug the plugins to see where it bugs
     
  7. How to debug? :D
     
  8. Add in the plugin:
    Print("stuff")
    To multiple places with différent names to see where it bugs when it does
     
  9. I don't know where to add it... :(

    Maybe give me .lua with debug function?
    [DOUBLEPOST=1423163447][/DOUBLEPOST]Emh.. Ok
    [DOUBLEPOST=1423171974,1423160844][/DOUBLEPOST]Reneb, please.. I really need your help :eek:
     
  10. As Reneb said:

    1. Add in the plugin:
    2. Print("stuff")
    3. To multiple places

    How is this not understandable?


    E.g.

    Code:
    local function getItem(iname)
        if(string.sub(string.lower(iname),-3) == " bp") then
            return string.sub(string.lower(iname),0,-4), true
        end
        return iname, false
    endPrint("stuff")local function getItem(iname)
        if(string.sub(string.lower(iname),-3) == " bp") then
            return string.sub(string.lower(iname),0,-4), true
        end
        return iname, false
    end

    As far as I know thats how its happening.
     
  11. thank you ;)
     
  12. Oh man so just done a clean install and the only plugin installed is Give and it doesnt work. Looks like there was a update for the server.
     
  13. no update for server nop
     
  14. Wulf

    Wulf Community Admin

    Temporary build compatible with Oxide builds 266+.
     

    Attached Files:

  15. Code:
    [Oxide] 11:19 PM [Error] rustcore: NullReferenceException while calling OnRunCommand: Object reference not set to an instance of an object
      at Oxide.Rust.Libraries.Command.HandleChatCommand (.BasePlayer sender, System.String name, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Rust.Plugins.RustCore.OnRunCommand (.Arg arg) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Feb 8, 2015
  16. Wulf

    Wulf Community Admin

    Update Oxide, it's outdated.
     
  17. This errored out when I loaded plugin and is not working at the moment, this is the error I received "[Oxide] 9:06 PM [Error] Failed to initialise plugin give (A .NET exception occured in user-code)".
     
  18. Wulf

    Wulf Community Admin

    See above.