This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using CitizenFX.Core; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace asd | |
| { | |
| public class Asd : BaseScript | |
| { | |
| public Asd() | |
| { | |
| Tick += OnTick; | |
| } | |
| private async Task OnTick() | |
| { | |
| await Delay(300000); | |
| PlayerList players = new PlayerList(); | |
| foreach (Player player in players) | |
| { | |
| // loop through them | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment