user0103 Posted November 7, 2016 Share Posted November 7, 2016 How can I iterate entities? For example, I want to find entities near player (weapon pickups, vehicles, etc.), but I didn't find something useful in natives. Link to comment Share on other sites More sharing options...
Jitnaught Posted November 7, 2016 Share Posted November 7, 2016 (edited) Native for getting vehicles: PED::GET_PED_NEARBY_VEHICLES Native for getting peds: PED::GET_PED_NEARBY_PEDS Script Hook V function for getting vehicles: worldGetAllVehicles Script Hook V function for getting peds: worldGetAllPeds Script Hook V function for getting objects: worldGetAllObjects Edited November 7, 2016 by Jitnaught user0103 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now