1.0.7
- add a new property
CLEO.hostVersion
that returns the version of the current host. Currently only available if the current exe file has version info (e.g. GTA IV or GTA Trilogy) - fix a crash in GTA IV when loading a script with a syntax error
- fix an issue in GTA IV when some commands always returned the same value (e.g.
GET_CURRENT_CHAR_WEAPON
)
BREAKING CHANGES
- bumped minimum required versions of command definitions
CLEO.version
andCLEO.apiVersion
incorrectly returned empty strings for missing parts of the version string. Now they returnundefined
instead.
log(CLEO.apiVersion.patch); // was "" now undefined
log(CLEO.apiVersion.pre); // was "" now undefined
log(CLEO.apiVersion.build); // was "" now undefined