CLEO Help Auto-reply

CLEO related

mmadaaa

Member
Joined
Oct 31, 2021
Messages
24
Reaction score
0
Location
Alba
Hi, i need this to make a command of start/stop to stop them and start back

Code:
{$CLEO .cs}

0000:

REPEAT
   WAIT 0
UNTIL 0AFA:  SAMP_IS_READY

WHILE TRUE
   WAIT 0


IF
0B61:  samp is_local_player_spawned
THEN
    FOR 0@ = 99 TO 99 
        0AC8: 1@ = allocate_memory_size 260
        0AC8: 2@ = allocate_memory_size 260
        0B75: samp get_chat_string 0@ text_to 1@ prefix_to 2@ color_to 3@ prefix_color_to 4@
        IF
        0C29: $NOT_USED = stristr string1 1@ string2 "SMS from" 
        THEN
                0AF9: samp say_msg "/reply x" 
                wait 50
                0AF8: samp add_message_to_chat "Mesajul a fost trimis cu succes." color 0x000000
                wait 50
        END
    END
END

END
 

ajom

Well-known member
Joined
Apr 14, 2020
Messages
389
Solutions
2
Reaction score
270
Location
Pluto
You don't seem to be using SAMPFUNCS's custom keyword.txt. Download SAMPFUNCS SDK then put its keyword.txt at the SB > sa > data folder.

In my opinion though, it is better to use the older version of SB(v3.5.1) since SAMPFUNCS is an old plugin. It is practical this way and doesn't need to setup things.
 

blvck0v

Active member
Joined
Feb 23, 2019
Messages
98
Reaction score
51
Location
ugbase.eu
You don't seem to be using SAMPFUNCS's custom keyword.txt. Download SAMPFUNCS SDK then put its keyword.txt at the SB > sa > data folder.

In my opinion though, it is better to use the older version of SB(v3.5.1) since SAMPFUNCS is an old plugin. It is practical this way and doesn't need to setup things.
Yes, i agree, as he couldn't manage to change chatmsg to its opcode form
Do what Ajom says, here's download https://public.sannybuilder.com/archive/
 
Last edited:
Top