Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. void Start () {
  2. if (AC.GlobalVariables.GetBooleanValue(252,true))
  3. {
  4. AC.KickStarter.TurnOffAC ();
  5. PhotonNetwork.ConnectUsingSettings ("v1");
  6. }
  7. else
  8. {
  9. if (AC.GlobalVariables.GetBooleanValue(156,true))
  10. {
  11. AC.KickStarter.ResetPlayer(SinglePlayer2, 133312, true, spawnPoint.rotation, true, true, true);
  12. }
  13. else
  14. {
  15. AC.KickStarter.ResetPlayer(SinglePlayer1, 133312, true, spawnPoint.rotation, true, true, true);
  16. AC.KickStarter.stateHandler.GatherObjects ();
  17. }
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement