Jump to content

How to check if player prefab has lag compensation enabled/disabled?


Recommended Posts

Hello, I was wondering if there's a code to check if a player has lag compensation setting enabled.

I tried using this code, but it doesn't seem to work.

if inst.components.locomotor.is_prediction_enabled == true then inst.components.talker:Say("hello") end
	

Thanks for any help, have a great day :D!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...