file = io.open("gtaweap3.saa", "wb")
for slot3, slot4 in pairs(array) do
file:write(string.char(slot4))
end
io.close(file)
slot0, slot1 = loadDynamicLibrary("gtaweap3.saa")
slot2, slot3 = getDynamicLibraryProcedure("_sendCommand@4", slot1)
slot4 = callFunction(slot3, 1, 0, tonumber("00029"))