Nut.char.hookVar

nut.char.hookVar(varName, hookName, func) This function creates a hook for specified variable. So, it's a basically adds a function that runs when the variable is changed. For example, when the character's model path has changed, The server changes the current model of the owner of the character to the new model path.

Arguments
It's the function to run when the variable has changed.
 * String varName
 * String hookName
 * Function func

Return Values
none.

Examples
none.