GetPlayerState Question
#4

It's not the same... Sure you'll end up with the same result, but the native being checked over and over doesn't need a global variable made, so therefore it's simpler.

OnPlayerStateChange makes it so it's an event. You can put code in there to be run upon the change. If you were to do the same via the function you'd need a timer to check over and over again on the players state.
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: 1 Guest(s)