So basically, I've been trying to fix up an old GMod 12 script for GMod 13 and came upon this:
[lua]if not ulx.songplayer_videos then
ulx.songplayer_videos = {}
if file.Exists( songplayer_video_file ) then
ulx.songplayer_videos = ULib.parseKeyValues( file.Read( songplayer_video_file ) )
end
end[/lua]
What replaced file.Exists in gmod13?
It's still there but it needs a 2nd argument.
[url]http://wiki.garrysmod.com/page/file/Exists[/url]
Sorry, you need to Log In to post a reply to this thread.