Announcement

If you are having trouble logging in, please reset your password.
If you are not getting an activation email, please check your spam or
use the "Contact Us" to contact an admin.
January 22, 2012, 07:52:20 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
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?

#1 January 23, 2012, 03:24:27 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
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 src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20"> .And thanks for advice

#2 January 23, 2012, 06:29:56 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
1) nice avatar  <img src="/wp-content/uploads/invision_emoticons/biggrin.png" alt="" 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 src="/wp-content/uploads/invision_emoticons/biggrin.png" alt="" 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 src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">

#3 January 24, 2012, 02:51:07 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
If you want to learn script codes you can find them on RubyDragon949's Mafia modding site.




BTW here is the link: Script Reference