Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections.Generic;
- using System.Threading.Tasks;
- using CitizenFX.Core;
- using CitizenFX.Core.Native;
- namespace mxfivereborn
- {
- public class MyScript : BaseScript
- {
- /// <summary>
- /// Initialize the script
- /// </summary>
- public MyScript()
- {
- Tick += OnTick;
- }
- /// <summary>
- /// Tick event
- /// </summary>
- private async Task OnTick()
- {
- Debug.Write("Test");
- await Delay(1000);
- }
- }
- }
Add Comment
Please, Sign In to add comment