Jump to content

attempt to concatenate


Best-Killer

Recommended Posts

Posted
addEvent("clanSystem:returnLog",true)
addEventHandler("clanSystem:returnLog",root,
function (clanLog)
guiGridListClear(clan_GUI["clan_log"]["grid"])
	for index, logM in pairs(clanLog) do
		local row = guiGridListAddRow(clan_GUI["clan_log"]["grid"])
		local info = split(logM["log_message"],string.byte(";"))
		local logMessage = info[1] .." ".. info[2] .." on ".. info[3] .." - ".. info[4]
		guiGridListSetItemText(clan_GUI["clan_log"]["grid"],row,1,tostring(logMessage),false,false)
	end	
end)

attempt to concatenate field '?' a nill value (line 8)

Posted

Obviously info[1], info[2], info[3] or info[4] returns nill. That's all the help you can get from us, because you didn't show us where the table info is coming from.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...