Enhanced Automotive Script with Code Examples 1.0.2

.Net Vehicles Open Source


Description


Enhanced Automotive Script with Code Examples

Simple Turn Light Script


Turn Lights, Signals, Engine on/off and more! Edit the script to customize its functionality.

Version 1.0.2 - New Features

- Added a Menu for configuration settings - Automatically turn your car ON when you are within 5 meters and OFF when you're further than 5 meters away. OR - Manually turn your car ON/OFF using the in-game pilot feature.
(Refer to the second video at the top for a demonstration.)

New Capabilities

- Control Your Car even when you are not seated inside it. - Activate/Deactivate Turn Signals (Left, Right, and Hazards). - Automatically turn ON your car's lights between 8 p.m. and 6 a.m. if AutoStart is enabled in the Menu. - Turn OFF your car when you are more than 5 meters away (requires AutoStart to be enabled in the Menu). - Open/Close car doors remotely using "Remote Pilot" functionality (only works when you're outside the vehicle). - Smooth Start: The car accelerates gradually, preventing tire slippage. - Brake Light illuminates when the car is stationary.

Additional Features

While Inside the Car - Turn Left Signal ON/OFF: NumPad 1 - Turn Right Signal ON/OFF: NumPad 3 - Activate Both Signals: NumPad 2 - Toggle Lights ON/OFF: NumPad 5 - Start/Stop Engine: NumPad 6 When Outside Your Car - Open/Close Trunk: NumPad 2 - Open/Close Left Doors: NumPad 4 - Activate Sirens (if available, e.g., Police Car): NumPad 5 - Open/Close Right Doors: NumPad 6 - Open/Close Hood: NumPad 8 - Access Menu: F10

RemotePilot

- Must be enabled in the Menu. - Controls your car ON/OFF within a 15-meter radius, automatically activating lights between 8 p.m. and 6 a.m.

Installation

Copy TurnSignals.dll to (C:/Program Files/Steam/steamapps/common/Grand Theft Auto V/scripts). If the "scripts" folder doesn't exist, create it.

Source Code

Required: ScriptHookV ScriptHookVDotNet
First Upload: November 12, 2024 Last Updated: November 12, 2024


0 Comments