gms_optimize_add_varname

Usage: gms_optimize_add_varname ( name, range_min, range_max, precision )

Description

Note: This function will be removed in a future update.

This function does not work in the GM:Studio (all) version.

Creates an alias for the given variable, reducing the data that has to be sent.

'range_min' represents the minimal value a variable can be, 'range_max' the maximal value.
'precision' describes how precise the variable must be sent. A precision of 0.4 means that the sent value will never differ more than 0.4.

This function must be called before logging in!

Replies (0)

Last message on 23 Jun 2017