Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: Hoskins355 on July 03, 2014, 10:07:26 PM

Title: Multiplayer Quiz Game
Post by: Hoskins355 on July 03, 2014, 10:07:26 PM
I am trying to make a multiplayer quiz game, but how do I go about sending the values from button press and tell if it player1 or player2? Thanks
Title: Re: Multiplayer Quiz Game
Post by: ArenMook on July 04, 2014, 03:05:35 PM
tno.Send("SomeFunction", Target.All, TNManager.playerID);
Title: Re: Multiplayer Quiz Game
Post by: Hoskins355 on July 05, 2014, 09:11:41 AM
Can I do something like

if(TNManager.playerID == player1){

}

Thanks for your help

Brandon
Title: Re: Multiplayer Quiz Game
Post by: ArenMook on July 05, 2014, 11:11:00 PM
Sure.