Retrieve a User Variable.
- varName (String)
- the name of the variable to retrieve.
The User Variable's value.
Version:
SmartFoxServer Basic / Pro
SmartFoxServer Basic / Pro
int age = (int)user.GetVariable("age");
int age = (int)user.GetVariable("age");