[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] TOC_PlayerCarTakeOver([/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]Packets[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].[/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]IS_TOC[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] TOC)[/SIZE]
[SIZE=2]{[/SIZE]
[SIZE=2] Players[GetPlyIdx(TOC.OldUCID)].UniqueID = TOC.NewUCID; [/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// Update Players[] list[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2] Players[GetPlyIdx(TOC.OldUCID)].PlayerID = TOC.PLID; [/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// Update Players[] list[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000] // Your code here[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2]}[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] TOC_PlayerCarTakeOver([/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]Packets[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].[/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]IS_TOC[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] TOC)[/SIZE]
[SIZE=2]{[/SIZE]
[SIZE=2] Players[GetPlyIdx(TOC.PLID)].UniqueID = TOC.NewUCID; [/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// Update Players[] list[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2] Players[GetPlyIdx(TOC.PLID)].PlayerName = Connections[GetConnIdx(TOC.NewUCID)].PlayerName; [/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// Update Players[] list[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000] // Your code here[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2]}[/SIZE]