Angel9
Active member
Problem to read line - log = [07:42:23] {FF0000}SmS | Nick: Mau[ID: 3] || new message | use /msglist.
Code:
{$CLEO .cs}
0000: NOP
// f3
repeat
wait 0
until 0afa:
while true
wait 0
if
0B61: samp is_local_player_spawned
then
0AC8: 0@ = allocate_memory_size 260
0AC8: 1@ = allocate_memory_size 260
0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@
if
0AD4: $NOT_USED = scan_string 0@ format "{FF0000}SmS | Nick: %s[ID: %i] || new message | use /msglist." 5@v 6@ // .
then
wait 1000 // 1 sec
0AF9: samp say_msg "/msglist %i" 6@ // command
end
end
END