CLEO Help Get id from chat

CLEO related
Status
Not open for further replies.
Joined
Jan 5, 2020
Messages
8
Reaction score
0
Location
Russia
I want to get id to say thanks for the donation


PHP:
{$CLEO .cs}

0000: NOP

0B34: samp register_client_command "cere" to_label @cmd_1

REPEAT
Wait 0
Until 0afa:

While True
Wait 0



if
0B61:  samp is_local_player_spawned
then

    0AC8: 0@ = allocate_memory_size 260
    0AC8: 1@ = allocate_memory_size 260
  
    0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@     
    If
    0C29: $NOT_USED = stristr string1 0@ string2 "and hands it to" 4@v
    Then
            say "I love you bro %s for your donation" 4@v
            wait 1000
    end
end

END

:cmd_1
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "Va rog sa ma ajutati Strang bani pentru a cumpara LUCRU .Am y$ din z$."
0AF9: samp say_msg "Top donator TaZZeRR(x1$)"
SAMP.CmdRet

Thx for helping me btw.
 
Joined
Jan 5, 2020
Messages
8
Reaction score
0
Location
Russia
On the server is a command
When you /pay id money
And it's something like Name1 paid Name2 Cash
That's why i wanted to search for "
"and hands it to" cuz i don't know how to get the Name 1 , Name2 and cash
 
Status
Not open for further replies.
Top