Are there any examples of findfirstped findnextped and endfindped for finding the nearest peds? I only know of entitiespool but that solution is pretty outdated and doesnt work sometimes.
I know that there are a few lua examples but idk how i would translate those into c# because they do things like
local handle, ped = FindFirstPed()
Also how does findnextped work?? Its a bool and u have to pass it an entity to find? I dont understand.
All help is appriciated