Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. function say_title_center(msg,r,g,b)
  2. local _color
  3. if (r and g and b) == nil then
  4. _color = color256(255, 230, 186)
  5. else
  6. _color = color256(r, g, b)
  7. end
  8. raw_script(string.format("[TEXT_HORIZONTAL_ALIGN_CENTER]%s%s%s[/TEXT_HORIZONTAL_ALIGN_CENTER][ENTER]", _color, msg, color256(196, 196, 196)))
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement