Reply To: Melee combat LUA
Home / Forums / Modders Corner / Mafia Editing / Mafia II mods / Melee combat LUA / Reply To: Melee combat LUA
jaca37
it different styles (“melee”,”…”) and (“common”,”…”)
and else in game should stand modified file “ingame”
if i==nil then i=0 end
DelayBuffer:Insert(function(l_1_0)i=i+1 if i==5 then i=1 end
if i==1 then game.game:GetActivePlayer():ModelToHands(true,1,1)
game.game:GetActivePlayer():SetAnimStyle(“melee”,”default”)end
if i==2 then game.game:GetActivePlayer():ModelToHands(true,1,28)
game.game:GetActivePlayer():SetAnimStyle(“melee”,”PendrekStyle”)end
if i=
then game.game:GetActivePlayer():ModelToHands(true,1,32)
game.game:GetActivePlayer():SetAnimStyle(“melee”,”BatStyle”)end
if i==4 then game.game:GetActivePlayer():ModelToHands(true,1,22)
game.game:GetActivePlayer():SetAnimStyle(“melee”,”KnifeStyle”)end
end,{l_1_0},100,1,false)

then game.game:GetActivePlayer():ModelToHands(true,1,32)