Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- send_letter_color = function(name, string_color, scroll_color, blink)
- local color_table = {"blue", "golden", "green", "purple"};
- local string_type = string.format("%s%s,ex", table_is_in(color_table, string_color) and string_color or "", blink and "blink," or "");
- local scroll_type = string.format("scroll_open%s.tga", table_is_in(color_table, scroll_color) and string.format("_%s", scroll_color) or "");
- return send_letter_ex(name, string_type, scroll_type);
- end -- function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement