Skip to content

Commit

Permalink
Update SwitchToMultiFirstpart.md
Browse files Browse the repository at this point in the history
Moved the note out of the code block.
  • Loading branch information
4mmonium authored Nov 24, 2023
1 parent 65969ba commit bdcf123
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions STREAMING/SwitchToMultiFirstpart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit bdcf123

Please sign in to comment.