altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 16 forks source link

Add alt.setLightsState to client side #791

Open DurtyFree opened 3 years ago

DurtyFree commented 3 years ago

Suggestion Add client side scripting API to toggle light states of GTA (there is 0-15), so people can customize light states better.

Use cases

Describe the solution you'd like Add API method on client alt.setLightsState(id: number, enabled: boolean);, where id is some value between 0 & 15 (there are 16 light states in total)

Describe alternatives you've considered There is only SetArtificialLightsState native, which toggles city completely (for blackout), tuxick also patched that this native doesnt toggle vehicle lights, which might be desired for some use cases.

PlumeDreams commented 1 year ago

Will this feature continue to be developed?

Arochka commented 10 months ago

Very interested by this feature