Get Custom Player State

STD Library
Client Side
Only PC

The state data is automatically synced to the server. Returns false if failed.

Declaration

func GetCustomPlayerState(customPlayer entity<Entity>, out var isSuccess bool, out var state int)
go

Parameters

Input

Name Type Description
Custom Player Entity A custom player

Out

Name Type Description
Is Success Bool Whether the execution is successful
State Int Set the state with Set Custom Player State