altmp / altv-issues

Issues and roadmap for alt:V project
92 stars 17 forks source link

API | Active List of registered doors within system #812

Open Revyn112 opened 3 years ago

Revyn112 commented 3 years ago

Suggestion It would be very nice to have a list of all doors registered within the system (https://natives.altv.mp/#/0x6F8838D03D1DC226) like in FiveM (https://docs.fivem.net/natives/?_0xF65BBA4B).

Use cases Handle the GTAV door system with eventhandles system-wide.

Describe the solution you'd like A method api like alt.DoorSystemActiveList would the best way. This could be return list with the door handle, hashes and positions etc.

Describe alternatives you've considered Making an own clientside list with all door handles.

Additional context https://docs.fivem.net/natives/?_0xF65BBA4B https://docs.fivem.net/natives/?_0x237613B3 https://natives.altv.mp/#/0x6F8838D03D1DC226

LeonMrBonnie commented 3 years ago

If we add this we should just add the whole doors api into the client.