Hello guys.I seek help in the bodyguard problem. i made a bodyguard and used script from rubymafiamods. He really do hes bodyguard job but theres one problem.He attacks enemies with empty hands only with hes fists.So he cant be a proper bodyguard at all
" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x" width="20" height="20">
heres the script:
enemy_vidim 0
dim_frm 4
dim_act 6
dim_flt 5
commandblock 1
findactor 0, "Salman"
findactor 5, "Tommy"
human_addweapon 0, 10, 50, 200
human_holster 0
frm_seton 3, 0
commandblock 0
human_set8slot 0, 1
let flt[3] = 1
{ up
if flt[3] = 0, -1, 1
Label F
enemy_action_follow 5, 1.2, CROUCH
goto F
label 1
goto 1
}
event use_ab
enemy_actionsclear
wingman_setindicator 0, 1, 0
enemy_vidim 1
label Follow
event_use_cb 1
if flt[3] = 1, 2, -1
enemy_forcescript 0
let flt[3] = 1
return
label 2
let flt[3] = 0
return
What do you think is wrong?

heres the script:
enemy_vidim 0
dim_frm 4
dim_act 6
dim_flt 5
commandblock 1
findactor 0, "Salman"
findactor 5, "Tommy"
human_addweapon 0, 10, 50, 200
human_holster 0
frm_seton 3, 0
commandblock 0
human_set8slot 0, 1
let flt[3] = 1
{ up
if flt[3] = 0, -1, 1
Label F
enemy_action_follow 5, 1.2, CROUCH
goto F
label 1
goto 1
}
event use_ab
enemy_actionsclear
wingman_setindicator 0, 1, 0
enemy_vidim 1
label Follow
event_use_cb 1
if flt[3] = 1, 2, -1
enemy_forcescript 0
let flt[3] = 1
return
label 2
let flt[3] = 0
return
What do you think is wrong?