Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local screenX, screenY = guiGetScreenSize()
- addEventHandler("onClientRender", getRootElement(), function()
- if sound then
- local w = dxGetTextWidth("Use /stopit to stop Streamed Music", 1, "arial")
- dxDrawText ( "Use /stopit to stop Streamed Music", screenX-w-10, screenX/2-265, screenY/2, screenX, tocolor (255,122,0,255 ), 1, "arial" )
- else
- local w = dxGetTextWidth("Use /stopit to start Streamed Music", 1, "arial")
- dxDrawText ( "Use /stopit to start Streamed Music", screenX-w-10, screenX/2-265, screenY/2, screenX, tocolor (255,122,0,255 ), 1, "arial" )
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment