Skip to content

Instantly share code, notes, and snippets.

@FALL1N1

FALL1N1/asdf.cs Secret

Created November 25, 2021 03:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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