From bdcf123cf38b31534463f5988d7a561788aa17e6 Mon Sep 17 00:00:00 2001 From: ammonia-cfx <38232208+4mmonium@users.noreply.github.com> Date: Fri, 24 Nov 2023 20:32:12 +0300 Subject: [PATCH] Update SwitchToMultiFirstpart.md Moved the note out of the code block. --- STREAMING/SwitchToMultiFirstpart.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/STREAMING/SwitchToMultiFirstpart.md b/STREAMING/SwitchToMultiFirstpart.md index 7df31380a..f4bdcc496 100644 --- a/STREAMING/SwitchToMultiFirstpart.md +++ b/STREAMING/SwitchToMultiFirstpart.md @@ -8,12 +8,11 @@ aliases: ["0xAAB3200ED59016BC", "_SWITCH_OUT_PLAYER"] // 0xAAB3200ED59016BC 0xFB4D062D void SWITCH_TO_MULTI_FIRSTPART(Ped ped, int flags, int switchType); ``` -``` -Doesn't act normally when used on Mount Chiliad. -``` You can check if the player is in a Switch state with [`IS_PLAYER_SWITCH_IN_PROGRESS`](#_0xD9D2CFFF49FAB35F). +_**Note:** Doesn't act normally when used on Mount Chiliad._ + ## Parameters * **ped**: The Ped (player character) for which the switch is initiated. * **flags**: Flags control various functionalities: 0 for normal behavior, 1 for no transition, and 255 for Switch IN. @@ -30,7 +29,7 @@ if not IsPlayerSwitchInProgress() then end ``` -```javascript +```js // Check if the player is in a Switch "state" if (!IsPlayerSwitchInProgress()) { // If the player is not already in a Switch state, initiate a Switch