Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function wm()
- drawline();
- end
- function drawline()
- local screenSize = draw.GetScreenSize();
- local r = math.floor(math.sin(globals.RealTime() * 1) * 127 + 128);
- local g = math.floor(math.sin(globals.RealTime() * 1 + 2) * 127 + 128);
- local b = math.floor(math.sin(globals.RealTime() * 1 + 4) * 127 + 128);
- draw.Color(r, g, b, 255);
- draw.FilledRect(0, 0, screenSize, 5.5);
- end
- callbacks.Register('Draw', 'wm', wm);
- client.AllowListener( "client_disconnect" );
- client.AllowListener( "begin_new_match" );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement