Code:
{$CLEO .cs}
0000:
:TEXT
wait 0
alloc 10@ 1024
alloc 11@ 1024
SAMP.GetChatString(99, 10@, 11@, 12@, 13@)
if
0C18: $FREE = strstr string1 10@ string2 "Husnain: hello"
jf @TEXT
wait 100
say "Hi"
free 10@
free 11@
jump @TEXT
I want to detect "Hello" message but the script is crashing. Any clue?