Hello, i'm looking for a code to stop working the cleo when chat is opened. I want to make it work only when it's closed.
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
0000: NOP
:NONAME_2
wait 10
0AB4: 1@ = var 6
if and
not 1@ == 1
key_down 20
Actor.Driving($PLAYER_ACTOR)
jf @NONAME_2
0@ = Actor.CurrentCar($PLAYER_ACTOR)
07D5: set_car 0@ velocity_in_direction_XYZ 0.0 0.0 0.2 rotation_velocitiesXY 0.0 0.0 unk 0.0
wait 200
jump @NONAME_2