0
Q:

fivem findfirstped

RegisterCommand("peds", new Action<dynamic, List<dynamic>, string>((dynamic source, List<dynamic> args, string rawCommand) =>
{
    string pedHandles = "";
    foreach (var p in World.GetAllPeds())
    {
        pedHandles += p.Handle + ", ";
    }
    Debug.WriteLine(pedHandles.Trim().Trim(','));
}), false);
0

New to Communities?

Join the community