'PICKUP_WEAPON_PISTOL'. number - The hash of the pickup, e.g. 4189041807 or `PICKUP_WEAPON_PISTOL`. function - A function with signature (pickup: integer, i: integer) => boolean. returns: integer[] - An array of all pickups. getclosestpickup Returns the closest pickup to a ...