Advertisement
LostProphet

TimerTest

Apr 27th, 2013
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.45 KB | None | 0 0
  1. using GTA;
  2. using System;
  3.  
  4. namespace Timers
  5. {
  6.     class TimerTest : Script
  7.     {
  8.         public TimerTest()
  9.         {
  10.         }
  11.     }
  12.  
  13.     class TimerTestDerived : TimerTest
  14.     {
  15.         public TimerTestDerived()
  16.         {
  17.             Timer timer = new Timer(1000);
  18.             timer.Start();
  19.             timer.Tick += this.timer_Tick;
  20.         }
  21.  
  22.         private void timer_Tick(object sender, EventArgs e)
  23.         {
  24.         }
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement