4.4.4

4.4.3

4.4.2

4.4.1

4.4.0

4.3.24

4.3.23

4.3.22

4.3.21

4.3.19-20

4.3.17-18

4.3.16

4.3.15

4.3.14

4.3.13

4.3.12.1

4.3.12

4.3.11

4.3.10

4.3.9

4.3.8

4.3.7

4.3.0

Updates to behaviour of following opcodes:

0A99

CHANGE_DIRECTORY can now correctly change to the program directory

0A9A

OPEN_FILE now uses a 'legacy' mode when passing an integer as the mode parameter for compatibility of CLEO file handles and SA file handles Note that you should really not pass CLEO file handles to game functions. However, this legacy mode now ensures that the handles are compatible. Other file functions have also been updated ensuring that game file handles are passed to relevant game functions. It is recommended to not rely on passing files to game functions and instead use CLEO 4's in-built file functions in future.

0AD1

CALL now accepts string input, which is passed as a string pointer following string convention

0AD4

SCAN_STRING now returns a condition result

0AE6

FIND_FIRST_FILE now accepts string array output

0AE3

FIND_ALL_RANDOM_OBJECTS_IN_SPHERE now ensures no fading objects are returned and returns -1 instead of 0 on failure

0AE2

FIND_ALL_RANDOM_CARS_IN_SPHERE now ensures no script vehicles or fading vehicle are returned and returns -1 instead of 0 on failure

0AE1

FIND_ALL_RANDOM_CHARS_IN_SPHERE now ensures no script characters or fading characters are returned and returns -1 instead of 0 on failure

0ADF

ADD_TEXT_LABEL now updates existing text labels if they already exist

0AD6

IS_END_OF_FILE_REACHED now returns true if a file error occured

0AD2

GET_CHAR_PLAYER_IS_TARGETING now returns -1 instead of 0 when no target is found

0AB5

STORE_CLOSEST_ENTITIES now ensures no script entities or fading entities are returned and ensures the player ped is not returned