ULX tsay

https://leto24f.storage.yandex.net/rdisk/2bcb0106babdb34dcbc47dd726b5dbd6c0b276008b43bc150803bac8e4a4a518/inf/h_PRQNDw7cY9PDYS2A8ueVvN4lZflWhZrm9-_jFAwlIj86VtJTwgWM3N08BxFrTOzAXzPONkB6oIFLDMiacA==?uid=0&filename=2015-04-03%2018-19-03%20%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0.png&disposition=inline&hash=&limit=0&content_type=image%2Fpng&tknv=v2&rtoken=fb5a2ecd2ba3d2ac29c62994f12e2d7c&force_default=no

How to make a display of the player’s name?
[lua]
------------------------------ Tsay ------------------------------
function ulx.tsay( calling_ply, message )
ULib.tsay( _, message )

if util.tobool( GetConVarNumber( "ulx_logChat" ) ) then
	ulx.logString( string.format( "(tsay from %s) %s", calling_ply:IsValid() and calling_ply:Nick() or "Console", message ) )
end

end
local tsay = ulx.command( CATEGORY_NAME, “ulx tsay”, ulx.tsay, “@@”, true, true )
tsay:addParam{ type=ULib.cmds.StringArg, hint=“message”, ULib.cmds.takeRestOfLine }
tsay:defaultAccess( ULib.ACCESS_ADMIN )
tsay:help( “Send a message to everyone in the chat box.” )[/lua]

I’m not too familiar with ULX anymore, but the forums are still somewhat active: http://forums.ulyssesmod.net/

Someone there might get you a faster answer.

[lua]
------------------------------ Tsay ------------------------------
function ulx.tsay( calling_ply, message )
message = “(”… (calling_ply:IsValid() and calling_ply:Nick() or “Console”) … ") "… message
ULib.tsay( _, message )

if util.tobool( GetConVarNumber( "ulx_logChat" ) ) then
	ulx.logString( string.format( "(tsay from %s) %s", calling_ply:IsValid() and calling_ply:Nick() or "Console", message ) )
end

end
local tsay = ulx.command( CATEGORY_NAME, “ulx tsay”, ulx.tsay, “@@”, true, true )
tsay:addParam{ type=ULib.cmds.StringArg, hint=“message”, ULib.cmds.takeRestOfLine }
tsay:defaultAccess( ULib.ACCESS_ADMIN )
tsay:help( “Send a message to everyone in the chat box.” )[/lua]