Raaj Nadar hat geschrieben
OK I am online in phone as soon as I log on in my PC I will post the error script thanks Leave and bounty
Okay but later of what you can please post the code, and i make the lua complete with this for you.
function joinhook (id) 	local file = io.open ("sys/lua/" .. player (id, "name") .. ".txt", "r") 	 	if (file) then 		local values = {} 		 		for value in file:read ():gmatch ("[^%s+]") do 			table.insert (values, value) 		end 		 		parse ("setscore " .. id .. " " .. values[1]) 		parse ("setdeaths " .. id .. " " .. values[2]) 		 		file:close () 	end end
function leavehook (id) 	local file = io.open ("sys/lua/" .. player (id, "name") .. ".txt", "w+") 	 	file:write (player (id, "score") .. " " .. player (id, "deaths")) 	file:close() end