DMeville

Untitled

Apr 18th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.23 KB | None | 0 0
  1. public int setHostCount = 5; //will call SetHostInfo 5 times, once every 5 seconds
  2. public void SetServerHostInfo() {
  3.     BoltNetwork.SetHostInfo(/*stuff*/);
  4.     SetHostCount--;
  5.     if(setHostCount > 0) Invoke("SetServerHostInfo", 5f);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment