Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. local function LockDown()
  2.     local chbxX, chboxY = chat.GetChatBoxPos()
  3.     if GetGlobalBool("DarkRP_LockDown") then
  4.         local cin = (math.sin(CurTime()) + 1) / 2
  5.         local chatBoxSize = math.floor(Scrh / 4)
  6.         draw.DrawNonParsedText(DarkRP.getPhrase("lockdown_started"), "ScoreboardSubtitle", chbxX, chboxY + chatBoxSize, Color(cin * 255, 0, 255 - (cin * 255), 255), TEXT_ALIGN_LEFT)
  7.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement