Hi, i have code:
And it returns:
Whats wrong with it?
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
0B34: "txd" @textdraw
WHILE TRUE
WAIT 0
END
:textdraw
for 1@ = 0 to 2304
if 0C5D: samp textdraw 1@ is_exists
then
alloc 2@ = 1024
0C5A: samp textdraw 1@ get_string_to 2@
0AF8: "textdraw with id %d, text: %s" -1 1@ 2@
free 2@
end
end
0B43:
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
0B34: "txd" @textdraw
WHILE TRUE
WAIT 0
END
:textdraw
for 1@ = 0 to 2304
if 0C5D: samp textdraw 1@ is_exists
then
alloc 2@ = 1024
0C5A: samp textdraw 1@ get_string_to 2@
0AF8: "textdraw with id %d, text: %s" -1 1@ 2@
free 2@
end
end
0B43:
Whats wrong with it?