CLEO Help Message sender help

CLEO related
Status
Not open for further replies.

alborosie

Active member
Joined
Aug 16, 2017
Messages
67
Reaction score
3
Hello.
@Opcode.eXe made me this code
Code:
{$CLEO .cs}
0000:


REPEAT
    WAIT 0
UNTIL 0AFA:  SAMP_IS_READY
0@ = 0

WHILE TRUE
    WAIT 0
    IF AND
    0AB0: 88
    0AB0: 67
    THEN
        REPEAT
            WAIT 0
        UNTIL 8AB0: 88
              0AB0: 67
        0@++ // increase by 1;
        IF 0@ > 9 // ID 9 IS MAX
        THEN
            0@ = 0
        END
      
      
      
        0AB1: call @readStringFromList 2 list @ChatStrings string_number 0@ to 1@
        0AC8: 2@ = allocate_memory_size 260     
        0AD3: 2@ = format "%s" 1@
        0AF9: samp say_msg "%s" 2@
        0AC9: free_allocated_memory 2@


      
      
      
      
    END
END



:ChatStrings
0900: - - - - -
0000:



:readStringFromList
var
1@ : int
2@ : int
end
0AC6: 0@ = label 0@ offset
0@ += 4
2@ = 0
while 2@ < 1@
    3@ = 1
    while 3@ <> 0
        0A8D: 3@ = read_memory 0@ size 1 virtual_protect 0
        inc(0@)
    end
    0@ += 3
    inc(2@)
end
ret 1 0@

and i want to get the values in the ChatStrings from an .ini file.
Can someone modify for me?
 
Status
Not open for further replies.
Top