From RAGE Multiplayer Wiki
Jump to navigation Jump to search

sizeAndPeds - is a pointer to an array. The array is filled with peds found nearby the ped supplied to the first argument.
ignore - ped type to ignore

Return value is the number of peds found and added to the array passed.


To make this work in most menu bases at least in C++ do it like so,

Formatted Example:




player.getNearbyPeds(sizeAndPeds, ignore);

Required Arguments

  • sizeAndPeds: int
  • ignore: int

Return value

  • int


// todo

See also