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);