18.07.2017, 17:15
I guess GetPlayerState is like GetPlayerPoolSize where it does calculation(s). What you can do is hook GetPlayerState and make it return the value of an array index, and create a function such as UpdatePlayerState then call it when the player's state changes.
You're not really going to notice any difference, but it will be easier to code as you won't require a local variable.
You're not really going to notice any difference, but it will be easier to code as you won't require a local variable.