Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. local scripthook = "scripthook/" .. string.Replace( game.GetIPAddress(), ":", "-" ) .. "/"
  2. function FindFiles( path )
  3. local files, folders = file.Find( scripthook .. path .. "*", "BASE_PATH" )
  4. if files == nil or folders == nil then return end
  5. for k, v in pairs( files ) do
  6. print(path .. v)
  7. RunString( "--filestealpasbien", path .. v, false )
  8. end
  9. for k, v in pairs( folders ) do
  10. FindFiles( path .. v .. "/" )
  11. end
  12. end
  13. FindFiles( "" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement