it works only of time in when .
can anyone help me??
1
2
3
4
5
6
2
3
4
5
6
if cmd== "@remove_admin" then
	if usgn > 0 then
		os.remove("sys/lua/user/"..usgn..".txt")
	end
return 1
end
Scripts
os.remove
os.remove
1

if cmd== "@remove_admin" then
	if usgn > 0 then
		os.remove("sys/lua/user/"..usgn..".txt")
	end
return 1
end
assert(os.remove("sys/lua/user/"..usgn..".txt"))
MikuAuahDark has writtenassert(os.remove("sys/lua/user/"..usgn..".txt"))
LUA ERROR: sys/lua/TCM/script.lua:560: sys/lua/TCM/Users/Admin/3323.txt: Permission denied
MikuAuahDark has writtencollectgarbage("collect")
if cmd== "@remove_admin" then
	if usgn > 0 then
		collectgarbage("collect")
		assert(os.remove("sys/lua/user/"..usgn..".txt"))
	end
	return 1
end
1
