Esempio n. 1
0
        public PlayerModel()
        {
            PlayerNumber = ++_playerCount;

            Name  = RandomNames.GetRandomName();
            Chips = 3;
        }
Esempio n. 2
0
 public Dealer(PedHash pedHash)
 {
     Name    = RandomNames.GetRandomName();
     X       = 85.50f;
     Y       = -1959.43f;
     Z       = 21.12f;
     R       = 344.75f;
     PedName = pedHash.ToString();
 }
Esempio n. 3
0
 public Dealer()
 {
     Name    = RandomNames.GetRandomName();
     X       = 85.50f;
     Y       = -1959.43f;
     Z       = 21.12f;
     R       = 344.75f;
     PedName = "";
     Ped     = null;
 }
Esempio n. 4
0
 public Dealer(float x, float y, float z, float r, string pedName)
 {
     Name    = RandomNames.GetRandomName();
     X       = x;
     Y       = y;
     Z       = z;
     R       = r;
     PedName = pedName;
     Ped     = null;
 }
Esempio n. 5
0
    public void GetRandomName()
    {
        if (textInput == null || randomNames == null)
        {
            Debug.LogError("Unable to set random name, either textinput or randomnames is missing");
            return;
        }

        textInput.text = randomNames.GetRandomName();
    }