Hello i have problem!
I use this code to search the string "Enter the number %d and earn 5000$"
Example: "Enter the number 22 and earn 5000$" - /answer 22
Why the string "Enter the number 22 and earn 5000$ - /answer 22" it was not found,as if he did not show up ?
This text is sent by the server in blue!!
ChatLog: [23:02:01] Enter the number 22 and earn 5000$
:SampChat
IF 0AA2: 1@ = "samp.dll"
THEN
1@ += 0x21A0E4
0A8D: 1@ readMem 1@ sz 4 vp 0
1@ += 0x132
0@ *= 0xFC
005A: 1@ += 0@
1@ += 0x20
0AA3: 1@
END
0AB2: ret 1 1@
:AutoSyS
wait 0
0AC8: 15@ = allocate_memory_size 145
0AB1: call @SampChat 1 id 99 to 15@
if
0AD4: 30@ = scan_string 15@ format "Enter the number %d and earn 5000$" 8@
then
wait 0
0AF9: samp say_msg "/answer %d" 8@
end
else_jump @AutoSyS
0AC9: free_allocated_memory 15@
jump @AutoCMDSyS_1