Home / Forums / Modders Corner / Mafia Editing / Mod Help / Bodyguard weapon help

  • This topic has 3 replies, 2 voices, and was last updated 14 years ago by Guest.

Bodyguard weapon help

Home / Forums / Modders Corner / Mafia Editing / Mod Help / Bodyguard weapon help

3 replies
14 years ago
#7325

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 biggrin.png” 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?

14 years ago
#9598

oh of course im such a fool…It works now but no point of me trying to do something if i dont even understand the script very well.BTW do you have by any chance some site or something wheres explained each command? It would be really helpful <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/smile@2x.png 2x” width=”20″ height=”20″> .And thanks for advice

14 years ago
#9601

1) nice avatar <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x” width=”20″ height=”20″>

2) Yeh i already understand a few basic commands from your list thanks to rubymafiamods. i will try to learn the language better now and than i can actually try something, its stupid to make new topics for every bullshit <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x” width=”20″ height=”20″> .Could you please give me the mafiapub link?i hope google translater can handle it <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/smile@2x.png 2x” width=”20″ height=”20″>

14 years ago
#9615

If you want to learn script codes you can find them on RubyDragon949’s Mafia modding site.

BTW here is the link: [url=http://http//rubymafiamods.forums-free.com/script-references-list-warning-very-big-list-t33.html:2wjfd1j9]Script Reference[/url]

  • You must be logged in to reply to this topic.