Solved Why is this erroring?

Discussion in 'Rust Development' started by GreenArrow, Apr 12, 2016.

  1. Code:
        -- Check if the player is allowed to run the command.
        if ply.net.connection.authLevel == 0 then
            return
        end
       
       ply.inventory.Strip()
    says strip a nil value
     
  2. Wulf

    Wulf Community Admin

    :Strip()

    Lua vs. C# is a little different.