Code:
{$CLEO}
{$INCLUDE SF}
0000:
thread "TaxiCMD"
repeat
wait 0
until SAMP.Available()
chatmsg "cv" -1
chatmsg "cv" -1
0B34: samp register_client_command "ress" to_label @command
WHILE TRUE
WAIT 0
2@ = 1298
IF and
1@ == TRUE
0C5D: samp textdraw 2@ is_exists
then
chatmsg "txd on" -1
else
chatmsg "txd off" -1
1@ = FALSE
END
END
:command
0B12: 1@ = 1@ XOR true
IF 1@ == TRUE
then
chatmsg "started" -1
else
chatmsg "stopped" -1
end
SAMP.CmdRet()
But what i want is an loop or idk, to check the textdraw.. if TEXTDRAW 1298 is on say "txd on" and when will dissapear to say "txd off"
I dont know how to do the red colored part