WHILE TRUE
WAIT 0
IF 31@ == 1
THEN
0B35: samp 0@ = get_last_command_params
0AD4: 4@ = scan_string 0@ format "%d" 2@
0B2B: samp 5@ = get_player_id_by_actor_handle $PLAYER_CHAR // -------
28@ = SAMP.GetPlayerColor(2@)
29@ = SAMP.GetPlayerColor(5@)
wait 3000
if or
29@ == 0x1016e
29@ == 0x1732e8
29@ == 0x2b46ff
then
if or
28@ == 0x1016e
28@ == 0x1732e8
28@ == 0x2b46ff
then // -------
0C18: 1@ = strstr string1 0@ string2 " /findd "
1@++
call @SEND_MSG 2 2@ 1@
chatmsg "{4ebf8b}[CopCMD]{5b7fa8} MDC was sent to ID %d." 0xff5b7fa8 2@
end
end
end
31@ = 0
end
cmdret