multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.42k stars 438 forks source link

Manage Police Maverick Helicopter Lights #2063

Open Allerek opened 3 years ago

Allerek commented 3 years ago

Describe the solution you'd like Adding functions for Police Maverick Light:

setHelicopterLightFollow(helicopterElement, FollowElement)<We give Heli a target, so the light will follow that element as long as he's in range, if element gets out of range, it will search terrain for it, if it gets in range again, will automatically follow it.

setHelicopterLightPosition(helicopterElement, Vector3)<Just force to light specific position

setHelicopterLightEnabled(helicopterElement, bool)<Enable/Disable Light

Additional context Would be useful for RP servers.

DREFTHUN commented 3 years ago

All of this can be done with scripting.

Allerek commented 3 years ago

All of this can be done with scripting.

Will be more optimized and easier with new functions.