Help Help .cs mod (REQUEST)

Joined
Apr 24, 2018
Messages
6
Likes
0
Points
1
1
#1
Hi, i need the code, or direct cleo, that search for a color in chat, and after it finds the color, use command [/spec ID], the id is written in chat like this (XXX).
https://imgur.com/a/l5rPcIO
This is a photo of what i need to do, in this photo it should say [/spec 118].
And maybe you can add a button for activating this?
 
OP
OP
R
Joined
Apr 24, 2018
Messages
6
Likes
0
Points
1
1
#3
Yes, it is, it just apear when someone use [/report], that means he is stuck.
 

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
703
Likes
6
Points
23
Location
Lithuania
Website
ugbase.eu
#5
Nobody !!!!

[shcode=cpp]
{$CLEO .cs}

0000:

repeat
wait 0
until 0afa:

while true
wait 0

if
0B61: samp is_local_player_spawned
then
0AC8: [email protected] = allocate_memory_size 260
0AC8: [email protected] = allocate_memory_size 260
0B75: samp get_chat_string 99{Last chat line} text_to [email protected] prefix_to [email protected] color_to [email protected] prefix_color_to [email protected]
if or /// I don't know who is same like in your chat , so i add more
0AD4: $NOT_USED = scan_string [email protected] format "%s(%d) este blocat." $NOT_USED [email protected]
0AD4: $NOT_USED = scan_string [email protected] format "%s (%d) este blocat." $NOT_USED [email protected]
0AD4: $NOT_USED = scan_string [email protected] format "%s (%d)este blocat." $NOT_USED [email protected]
0AD4: $NOT_USED = scan_string [email protected] format "%s(%d)este blocat." $NOT_USED [email protected]
then
wait 1000 // wait 1 second
say "/spec %d" [email protected]
end
end

end
[/shcode]
 
OP
OP
R
Joined
Apr 24, 2018
Messages
6
Likes
0
Points
1
1
#6
Parazitas said:
Nobody !!!!

[shcode=cpp]
{$CLEO .cs}

0000:

repeat
wait 0
until 0afa:

while true
wait 0

if
0B61:  samp is_local_player_spawned
then
   0AC8: [email protected] = allocate_memory_size 260
   0AC8: [email protected] = allocate_memory_size 260
   0B75: samp get_chat_string 99{Last chat line} text_to [email protected] prefix_to [email protected] color_to [email protected] prefix_color_to [email protected]  
   if or /// I don't know who is same like in your chat , so i add more
   0AD4: $NOT_USED = scan_string [email protected] format "%s(%d) este blocat." $NOT_USED [email protected]
   0AD4: $NOT_USED = scan_string [email protected] format "%s (%d) este blocat." $NOT_USED [email protected]
   0AD4: $NOT_USED = scan_string [email protected] format "%s (%d)este blocat." $NOT_USED [email protected]
   0AD4: $NOT_USED = scan_string [email protected] format "%s(%d)este blocat." $NOT_USED [email protected]
   then
       wait 1000 // wait 1 second
       say "/spec %d" [email protected]
   end
end

end
[/shcode]
You know that i love you, right? <3
 
Top