ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1593

Some One Have Get Nearby Object?

by EMILG0NZA - 04-20-2020 - 01:11 AM
#1
I need to found this i already have peds & Veh So this its the Last One Tankss
Disc = 0xemiil
Reply
#2
(04-20-2020 - 01:11 AM)FeetForFree Wrote: I need to found this i already have peds & Veh So this its the Last One Tankss

This native?
Code:
Object GET_CLOSEST_OBJECT_OF_TYPE(float x, float y, float z, float radius, Hash modelHash, BOOL isMission, BOOL p6, BOOL p7) // E143FA2249364369 45619B33
[Image: a8keeuutawx01.gif]
Reply
#3
(04-20-2020 - 04:21 PM)iLLuminder Wrote:
(04-20-2020 - 01:11 AM)FeetForFree Wrote: I need to found this i already have peds & Veh So this its the Last One Tankss

This native?
Code:
Object GET_CLOSEST_OBJECT_OF_TYPE(float x, float y, float z, float radius, Hash modelHash, BOOL isMission, BOOL p6, BOOL p7) // E143FA2249364369 45619B33
Something Like This static int GET_PED_NEARBY_VEHICLES(Ped PedHandle, int* sizeAndVehs) { return invoke<int>(0xCB716F68, PedHandle, sizeAndVehs); } // 0xCB716F68 But i think it can works by one way But Thanks Tho
Disc = 0xemiil
Reply
#4
I'm sure if not here there might be a few other places you could find it
Reply
#5
(04-20-2020 - 04:54 PM)Coltypoothegod Wrote: I'm sure if not here there might be a few other places you could find it
This its the Only Modding page of xbox that i know 
I think there its no Native so i need to made by my self Thanks
Disc = 0xemiil
Reply
#6
(04-20-2020 - 06:09 PM)FeetForFree Wrote:
(04-20-2020 - 04:54 PM)Coltypoothegod Wrote: I'm sure if not here there might be a few other places you could find it
This its the Only Modding page of xbox that i know 
I think there its no Native so i need to made by my self Thanks
but what would you like to look for .. ??
Reply
#7
(04-20-2020 - 07:01 PM)Cayman_-Modz Wrote:
(04-20-2020 - 06:09 PM)FeetForFree Wrote:
(04-20-2020 - 04:54 PM)Coltypoothegod Wrote: I'm sure if not here there might be a few other places you could find it
This its the Only Modding page of xbox that i know 
I think there its no Native so i need to made by my self Thanks
but what would you like to look for .. ??
With that i can made a Eliminate all Objects

(04-20-2020 - 07:01 PM)Cayman_-Modz Wrote:
(04-20-2020 - 06:09 PM)FeetForFree Wrote:
(04-20-2020 - 04:54 PM)Coltypoothegod Wrote: I'm sure if not here there might be a few other places you could find it
This its the Only Modding page of xbox that i know 
I think there its no Native so i need to made by my self Thanks
but what would you like to look for .. ??
U know a way to made without put all objects hashes
Disc = 0xemiil
Reply
#8
(04-20-2020 - 07:52 PM)FeetForFree Wrote:
(04-20-2020 - 07:01 PM)Cayman_-Modz Wrote:
(04-20-2020 - 06:09 PM)FeetForFree Wrote:
(04-20-2020 - 04:54 PM)Coltypoothegod Wrote: I'm sure if not here there might be a few other places you could find it
This its the Only Modding page of xbox that i know 
I think there its no Native so i need to made by my self Thanks
but what would you like to look for .. ??
With that i can made a Eliminate all Objects

(04-20-2020 - 07:01 PM)Cayman_-Modz Wrote:
(04-20-2020 - 06:09 PM)FeetForFree Wrote:
(04-20-2020 - 04:54 PM)Coltypoothegod Wrote: I'm sure if not here there might be a few other places you could find it
This its the Only Modding page of xbox that i know 
I think there its no Native so i need to made by my self Thanks
but what would you like to look for .. ??
U know a way to made without put all objects hashes

You can do this getting all the entities from memory. Then create code to eliminate only objects.
The natives PED::GET_PED_NEARBY_VEHICLES, PED::GET_PED_NEARBY_PEDS, and VEHICLE::GET_CLOSEST_VEHICLE have their limits so if you want something more powerful it's better to get entities from memory.

Hidden Content
You must register or login to view this content.



I don't know if these offsets are correct, I work on the ps3.I just added the Xbox offsets, you can test them.
This code is public, created and released by Erootiik in their profiles. Credits to him.

I hope it works.
[Image: a8keeuutawx01.gif]
Reply
#9
(04-21-2020 - 12:46 AM)iLLuminder Wrote:
(04-20-2020 - 07:52 PM)FeetForFree Wrote:
(04-20-2020 - 07:01 PM)Cayman_-Modz Wrote:
(04-20-2020 - 06:09 PM)FeetForFree Wrote:
(04-20-2020 - 04:54 PM)Coltypoothegod Wrote: I'm sure if not here there might be a few other places you could find it
This its the Only Modding page of xbox that i know 
I think there its no Native so i need to made by my self Thanks
but what would you like to look for .. ??
With that i can made a Eliminate all Objects

(04-20-2020 - 07:01 PM)Cayman_-Modz Wrote:
(04-20-2020 - 06:09 PM)FeetForFree Wrote:
(04-20-2020 - 04:54 PM)Coltypoothegod Wrote: I'm sure if not here there might be a few other places you could find it
This its the Only Modding page of xbox that i know 
I think there its no Native so i need to made by my self Thanks
but what would you like to look for .. ??
U know a way to made without put all objects hashes

You can do this getting all the entities from  memory. Then create code to eliminate only objects.
The natives PED::GET_PED_NEARBY_VEHICLES, PED::GET_PED_NEARBY_PEDS, and VEHICLE::GET_CLOSEST_VEHICLE have their limits so if you want something more powerful it's better to get entities from memory.

Hidden Content
You must register or login to view this content.



I don't know if these offsets are correct, I work on the ps3.I just added the Xbox offsets, you can test them.
This code is public, created and released by Erootiik in their profiles. Credits to him.

I hope it works.
Nice i will try thanks
Disc = 0xemiil
Reply

Users browsing: 4 Guest(s)