Guest User

Untitled

a guest
Dec 21st, 2012
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. local screenX, screenY = guiGetScreenSize()
  2. addEventHandler("onClientRender", getRootElement(), function()
  3. if sound then
  4. local w = dxGetTextWidth("Use /stopit to stop Streamed Music", 1, "arial")
  5. dxDrawText ( "Use /stopit to stop Streamed Music", screenX-w-10, screenX/2-265, screenY/2, screenX, tocolor (255,122,0,255 ), 1, "arial" )
  6. else
  7. local w = dxGetTextWidth("Use /stopit to start Streamed Music", 1, "arial")
  8. dxDrawText ( "Use /stopit to start Streamed Music", screenX-w-10, screenX/2-265, screenY/2, screenX, tocolor (255,122,0,255 ), 1, "arial" )
  9. end
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment