Have Server Lie to Client

Hey guys!

I’m trying to build a team system a lot like Trouble In Terrorist Town. In other words, you have teams and teamates, but only know who’s on your team, and don’t know what team your enemies are on.

(I also want to make it dynamic, so I can disable this feature or not)

So… how do I store a master variable on the server that only certain clients get, and others get a fake variable?

Thanks a bunch!

i dont understand what exaktly u want.

Is it not easier to have the client lie to the player rather than have the server lie to the client?

I would think you’d just change how you display the team to the user. They only see what you let them see after all, it doesn’t have to be correct. Should be no reason to get the server involved at all.