Native referenceFiveM

START_PLAYER_SWITCH

0xFAA23F2CBA159D67 STREAMING
FUNCTION SIGNATURE
void START_PLAYER_SWITCH(Ped from, Ped to, int flags, int switchType);
Property Value
Native Name START_PLAYER_SWITCH
Hash 0xFAA23F2CBA159D67
Return Type void
Parameters from (Ped), to (Ped), flags (int), switchType (int)

Description: ```cpp enum ePlayerSwitchType
{
SWITCH_TYPE_AUTO = 0, SWITCH_TYPE_LONG = 1, SWITCH_TYPE_MEDIUM = 2, SWITCH_TYPE_SHORT = 3 };


```cpp
enum eSwitchFlags {
	SKIP_INTRO = 1,
	SKIP_OUTRO = 2,
	PAUSE_BEFORE_PAN = 4,
	PAUSE_BEFORE_OUTRO = 8,
	SKIP_PAN = 16,
	UNKNOWN_DEST = 32,
	DESCENT_ONLY = 64,
	START_FROM_CAMPOS = 128,
	PAUSE_BEFORE_ASCENT = 256,
	PAUSE_BEFORE_DESCENT = 512,
	ALLOW_SNIPER_AIM_INTRO = 1024,
	ALLOW_SNIPER_AIM_OUTRO = 2048,
	SKIP_TOP_DESCENT = 4096,
	SUPPRESS_OUTRO_FX = 8192,
	SUPPRESS_INTRO_FX = 16384,
	DELAY_ASCENT_FX = 32768
}

Parameters

  • from (Ped)
  • to (Ped)
  • flags (int) — Refer to eSwitchFlags
  • switchType (int) — Refer to ePlayerSwitchType
Back to STREAMING