I am trying to add a Vector3 using the HashTable.Add, such as this:
Code: Select all
client = GetClient();
Hashtable myHashtable = new Hashtable();
The first 3 will go into the SetUserVariables just fine, but the Vector3 won't. I have also tried to break up the Vector3 as string but I was not allowed to convert Vector3 to a String such as:
String xPos = (String)CharacterLocation.x;
String xPos = (String)CharacterLocation;
It's simple. I just need to store the player spawnpoint in the SetUserVariables. Anything I am over looking?