From 9b75b1750124c4950a4078d51feffaa78b3fbb7d Mon Sep 17 00:00:00 2001 From: ammonia-cfx <38232208+4mmonium@users.noreply.github.com> Date: Fri, 15 Dec 2023 13:51:36 +0300 Subject: [PATCH] Update SetTransformToSubmarineUsesAlternateInput.md Correct parameter typo and add missing examples header. --- VEHICLE/SetTransformToSubmarineUsesAlternateInput.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/VEHICLE/SetTransformToSubmarineUsesAlternateInput.md b/VEHICLE/SetTransformToSubmarineUsesAlternateInput.md index 3740e56d1..da523e8ac 100644 --- a/VEHICLE/SetTransformToSubmarineUsesAlternateInput.md +++ b/VEHICLE/SetTransformToSubmarineUsesAlternateInput.md @@ -6,15 +6,16 @@ aliases: ["0x41B9FB92EDED32A6", "_SET_UNK_BOOL_0x102_FOR_SUBMARINE_VEHICLE_TASK" ```c // 0x41B9FB92EDED32A6 -void SET_TRANSFORM_TO_SUBMARINE_USES_ALTERNATE_INPUT(Vehicle vehicle, bool toogle); +void SET_TRANSFORM_TO_SUBMARINE_USES_ALTERNATE_INPUT(Vehicle vehicle, bool toggle); ``` This native changes the key used to transform a vehicle into submarine mode. When set to true, the transformation key switches from the default raise/lower convertible roof key (usually 'H') to the special vehicle transformation key (usually 'X'). ## Parameters * **vehicle**: The vehicle for which the submarine mode should be configured. -* **toogle**: A boolean switch to enable/disable the use of alternate input. +* **toggle**: A boolean switch to enable/disable the use of alternate input. +## Examples ```lua local vehicle = GetVehiclePedIsIn(PlayerPedId(), false) -- Get the vehicle in which the player is currently seated -- Set the key for submarine mode transformation to special vehicle transform (X by default)