GetPlayerState Question
#6

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.
Reply


Messages In This Thread
GetPlayerState Question - by Killa[DGZ] - 18.07.2017, 13:15
Re: GetPlayerState Question - by oMa37 - 18.07.2017, 13:36
Re: GetPlayerState Question - by Killa[DGZ] - 18.07.2017, 13:48
Re: GetPlayerState Question - by Sew_Sumi - 18.07.2017, 13:53
Re: GetPlayerState Question - by Killa[DGZ] - 18.07.2017, 14:03
Re: GetPlayerState Question - by Paulice - 18.07.2017, 17:15
Re: GetPlayerState Question - by nG Inverse - 19.07.2017, 04:35
Re: GetPlayerState Question - by Killa[DGZ] - 19.07.2017, 05:51
Re: GetPlayerState Question - by nG Inverse - 19.07.2017, 06:20
Re: GetPlayerState Question - by Killa[DGZ] - 19.07.2017, 07:10

Forum Jump:


Users browsing this thread: 2 Guest(s)