mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
Merge branch 'core'
This commit is contained in:
10
ExpLib.lua
10
ExpLib.lua
@@ -55,10 +55,12 @@ function ExpLib.player_return(rtn,colour,player)
|
|||||||
else player.print(tostring(rtn),colour)
|
else player.print(tostring(rtn),colour)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if is_type(rtn,'table') then log(table.to_string(rtn))
|
local _return = 'Invalid'
|
||||||
elseif is_type(rtn,'function') then log('Cant Display Functions')
|
if is_type(rtn,'table') then _return = table.to_string(rtn)
|
||||||
else log(tostring(rtn))
|
elseif is_type(rtn,'function') then _return = 'Cant Display Functions'
|
||||||
end
|
elseif is_type(rtn,'userdata') then _return = 'Cant Display Userdata'
|
||||||
|
else _return = tostring(rtn)
|
||||||
|
end log(_return) rcon.print(_return)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user