How to make this repeat until hello appears in chat?
Code:
{$CLEO .cs}
0000:
wait 10000 // wait 10second samp is ready
while true
wait 0
if
player.Defined(0)
then
repeat
wait 0
0AB1: @CAMERA_AT_POS 3 XYZ: -31.418301 -185.653595 1007.729980
until
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
0C29: $not_USED = stristr string1 0@ string2 "hola"
then
wait 100
say "/d helouaaa"
end
end
end