STREAMING
START_PLAYER_SWITCH
0xFAA23F2CBA159D67
Jenkins: 0x0829E975
Signature
// STREAMING
void START_PLAYER_SWITCH(Ped from, Ped to, int flags, int switchType)
Parameters
| Type | Name |
|---|---|
| Ped | from |
| Ped | to |
| int | flags |
| int | switchType |
Return type void
Build 323
Documentation
// this enum comes directly from R* so don't edit this enum ePlayerSwitchTypes { SWITCH_TYPE_AUTO, SWITCH_TYPE_LONG, SWITCH_TYPE_MEDIUM, SWITCH_TYPE_SHORT }; Use GET_IDEAL_PLAYER_SWITCH_TYPE for the best switch type. ---------------------------------------------------- Examples from the decompiled scripts: STREAMING::START_PLAYER_SWITCH(l_832._f3, PLAYER::PLAYER_PED_ID(), 0, 3); STREAMING::START_PLAYER_SWITCH(l_832._f3, PLAYER::PLAYER_PED_ID(), 2050, 3); STREAMING::START_PLAYER_SWITCH(PLAYER::PLAYER_PED_ID(), l_832._f3, 1024, 3); STREAMING::START_PLAYER_SWITCH(g_141F27, PLAYER::PLAYER_PED_ID(), 513, v_14); Note: DO NOT, use SWITCH_TYPE_LONG with flag 513. It leaves you stuck in the clouds. You'll have to call STOP_PLAYER_SWITCH() to return to your ped. Flag 8 w/ SWITCH_TYPE_LONG will zoom out 3 steps, then zoom in 2/3 steps and stop on the 3rd and just hang there. Flag 8 w/ SWITCH_TYPE_MEDIUM will zoom out 1 step, and just hang there.
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.