Answers for "fivem findfirstped"

0

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);
Posted by: Guest on March-06-2020

Browse Popular Code Answers by Language