So, I see that many people are now including {$CLEO} instead of {$CLEO .cs} in their code. What does it change?
What's the difference between 0@ and 0@v?
Why isn't this working? It should send another sms to the same person but the nick is either (null) or I get exceptions when I send the sms.
What's the difference between 0@ and 0@v?
Why isn't this working? It should send another sms to the same person but the nick is either (null) or I get exceptions when I send the sms.
Code:
{$CLEO .cs}
0000:
:1
wait 20000
jump @PEPE_39
:PEPE_39
wait 0
0AC8: 0@ = allocate_memory_size 260
0AB1: call @getChatEntryText 1 id 98 to 0@ //98 IS NOT THE PROBLEM!
if
0AD4: 30@ = scan_string 0@ format "SMS: [Vilius_Andreas >> %s ]:" 28@
else_jump @PEPE_39
jump @2
:2
wait 0
0AF9: "/sms %s Reply" 30@
0AC9: free_allocated_memory 0@
jump @PEPE_39
:getChatEntryText
wait 500
0AA2: 1@ = "samp.dll"
1@ += 0x212A6C
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x136
0@ *= 252
005A: 1@ += 0@
1@ += 28
0AB2: ret 1 1@