addEventHandler ( "onClientGUIClick", GUIEditor_Button[1],
function ( )
exports.cpicker:openPicker ( localPlayer, "#FFAA00", "Clan system" )
end
,false
)
addEvent ( "onColorPickerOK", true )
addEventHandler ( "onColorPickerOK", root,
function ( element, hex, r, g, b )
guiSetText ( GUIEditor_Edit[2], r )
guiSetText ( GUIEditor_Edit[3], g )
guiSetText ( GUIEditor_Edit[4], b )
outputChatBox ( r ..", ".. g ..", ".. b )
end
)
See what it outputs to chat.