Advertisement
Guest User

pause_sub.lua

a guest
Oct 12th, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.14 KB | None | 0 0
  1. function pause(a, b)
  2.   if b ~= "" then
  3.     mp.set_property_native("pause", true)
  4.   end
  5. end
  6.  
  7. mp.observe_property("sub-text", 'string', pause)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement