Can I have my Lua script rename a file in my garrysmod directory?
This is for spawned models, not the playermodel
This is for models without multiple skins already available using the ‘c’ option
rename() function gives me the error: “attempt to call global ‘rename’ (a nil value)”
oldname = "C:\\path\\path\\path\\filename.vtf" newname = "C:\\path\\path\\path\\filename_new.vtf" rename (oldname, newname)
I have never coded in Lua. This is just a simple tool for my own use.
Thanks for the help even it if just means I should stop what I am attempting.