C++:
{$CLEO .cs}
0000:
0B34: samp register_client_command "abc" to_label @abc
0B34: samp register_client_command "dis" to_label @dis
:blank
wait 0
jump @blank
:abc
wait 18000
say "/find 22"
0B43: samp cmd_ret
jump @abc
:dis
wait 0
0B63: samp unregister_client_command "abc"
0B43: samp cmd_ret
Here is the code. Now what I want that the code should keep /find the id 22 until I won't register another command "dis" to disable it but the problem is I can't figure out the way. I mean I want /find to keep in loop until I won't type /dis to disable it