Thread system added

This commit is contained in:
Cooldude2606 committed 2017-12-08 17:52:24 +00:00
1 parent 89fff7eba9
commit c0b87ec904
4 files changed
+87 -39

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ function ExpLib.player_return(rtn)
if game.player then
if is_type(rtn,'table') then
-- test if its a localised string
if is_type(rtn[1],'string') and string.find(rtn[1],'.+[.].+') and not string.find(rtn[1],'%s') then game.player.print(rtn)
if is_type(rtn[1],'string') and string.find(rtn[1],'.+[.].+') and not string.find(rtn[1],'%s') then pcall(game.player.print,rtn)
else game.player.print(table.to_string(rtn))
end
elseif is_type(rtn,'function') then game.player.print('Cant Display Functions')