Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Drawing;
- using System.Windows.Forms;
- using GTA;
- namespace ScriptHookVTests
- {
- public class TestScript : Script
- {
- public TestScript()
- {
- var sprite = new UISprite("timerbars", "rockets", new Size(32, 32), new Point(UI.WIDTH / 2, UI.HEIGHT / 2));
- var sprite2 = new UISprite("triathlon", "triathlon_swimming", new Size(32, 32), new Point(500, 500));
- var sprite3 = new UISprite("srange_gen", "hit_cross", new Size(32, 32), new Point(500, 300)) {Color = Color.Blue};
- Tick += (sender, args) =>
- {
- sprite.Draw();
- sprite2.Draw();
- sprite2.Draw();
- sprite3.Draw();
- };
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment