hi i am trying to fix a old gamemode and to get it working i am re-writing the save functions that it had before and upon doing so i ran into a error which makes no sense and shouldnt be happening.
When the code: [lua]file.Write(“ZombifiedWorld/Players/”…tostring(ply:SteamID())…".txt","
")[/lua] is used, it says, [lua]
[gamemodes\zombifiedworld\gamemode\server\player_profiles.lua:179] Lua file rights error. A script tried to access the file “data\ZombifiedWorld\Players\STEAM_0:0:0.txt”. Your current rights only allow access to files in GMod’s base folder.
so i want to know how this is happening and how to fix it, i have tryed to use hIO but the filewrite function seems to be broken.