• Changing RTV-System
    1 replies, posted
My RTVSystem works by adding the map names in a file called maplist.txt, but I want to just make it so it goes in maps/ and adds them... Can anyone help me out? Thanks Code: [CODE]local cache = {} local function getmaps() local m = file.Read("maplist.txt") if(!cache[1]) then cache = string.Explode("\r\n",m) end return cache end[/CODE]
[URL="http://wiki.garrysmod.com/page/file/Find"]file.Find?[/URL]
Sorry, you need to Log In to post a reply to this thread.