Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tArg = {...}
- local Video
- local frame
- local X
- local Y
- function Loop()
- while true do
- local event, a, b, c, d = os.pullEvent()
- if event == "system_graphic" then
- if a == "play" then
- Video = b
- X = d
- Y = e
- frame = c
- elseif a == "stop" then
- elseif a == "resume" then
- elseif a == "close" then
- Video = nil
- X = nil
- Y = nil
- frame = nil
- end
- else
- end
- end
- end
- if tArg[1] == "start" then
- Loop()
- end
Add Comment
Please, Sign In to add comment