pai1ne13
Active member
- Joined
- Jan 2, 2019
- Messages
- 59
- Reaction score
- 4
Hello guys, i have a problem.I want this cleo , when i type in chat command "/chelp" they will trype in chat "/clan" and select from dialog item with name "Clan Help"
Code:
{$CLEO .cs}
0000: NOP
0b34: "chelp" @chelp
wait 10000
WHILE TRUE
WAIT 0
IF 1@ == true
then
0af9: "/clan"
if
0B4C: samp is_dialog_active -1
THEN
alloc 0@ 260
0BD8: samp get_dialog_caption 0@
IF
0C29: $NOT_USED = stristr string1 0@ string2 "Clan"
THEN
0B49: samp set_current_dialog_list_item 0
0B47: samp close_current_dialog_with_button 1
wait 5000
1@ == false
End
end
End
:chelp
1@ == true
SAMP.CmdRet()
Attachments
Last edited: