function setTurfColor ( turfID, r, g, b )
if ( not doesTurfExist ( turfID ) ) then
return false, "This turf does not exists."
end
local handler = connection
if ( not handler ) then
return false, "Couldn't connect to SQLite database."
end
return dbExec( handler, "UPDATE turfs SET turfColorR = '".. tostring ( r ) .."', turfColorG = '".. tostring ( g ) .."', turfColorB = '".. tostring ( b ) .."' WHERE turf = '" .. tostring ( turfID ) .."'" )
end