всё равно не пашет. Но теперь у меня другой вопрос.
как задать переменной значение последнего сообщения чата и вывести его в чат ? вот что я сделал:
{$CLEO .cs}
0000: NOP
if not 0@ = SAMP.Base()
then 0A93: end_custom_thread
end
while not SAMP.Available()
wait 100
end
gosub @KEY_SCAN
:KEY_SCAN
wait 0
if 0AB0: key_pressed 121
jf @KEY_SCAN
wait 100
0A9A: 1@ = openfile "C:\Users\Frolien\Documents\GTA San Andreas User Files\SAMP\chatlog.txt" mode "rt"
0AD7: read_string_from_file 1@ to 2@v size 15
0AD4: 21@ = scan_string 2@v format "[%d:%d:%d] %s" 7@ 8@ 9@ 6@v
0AF8: chatmsg "%s" -1 6@v
jump @KEY_SCAN
не пашет...