default completely free bagpack slots

Results 1 to 1 of 1
  1. #1
    Member andelwol26 is offline
    MemberRank
    Mar 2017 Join Date
    GermanyLocation
    79Posts

    default completely free bagpack slots

    default completely free bagpack slots
    Hello,

    i am searching for the code to set all Backpack slots default unlocked.
    In the Client Source i edited the following lines:

    Code:
    int LuaFunc_GetBagPageLetTime(lua_State* L)
    {
        //int time;
        switch (luaL_checkint(L, 1))
        {    
        case 1:
        case 2:
            lua_pushboolean(L, false);
            lua_pushnil(L);
            break;
        case 3:
            lua_pushboolean(L, false);
            lua_pushnil(L);
            break;
        case 4:
            lua_pushboolean(L, false);
            lua_pushnil(L);
            break;
        case 5:
            lua_pushboolean(L, false);
            lua_pushnil(L);
            break;
        case 6:
            lua_pushboolean(L, false);
            lua_pushnil(L);
            break;
        default:
            lua_pushboolean(L, false);
            lua_pushnil(L);
            break;
        }
        return 2;
    }

    I can't move any item in the slots because there are still locked.
    Have i to search in the Server Source? for it?
    what do I have to look for here?




Advertisement