Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local colorUnPacker = {
- __call = function(t)
- return unpack(t)
- end
- }
- colors = {
- yellow = {176, 253, 125, 0},
- red = {255, 0, 0, 0},
- green = {0, 255, 0, 0},
- }
- for key, _t in pairs(colors) do
- setmetatable(_t, colorUnPacker)
- end
- UI_CreateColouredPositionKickerMessage(player, pos, title, colors.green())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement