Home / Forums / Modders Corner / Mafia Editing / Mafia Mod Request / I want to get drunk much longer!!!

I want to get drunk much longer!!!

Home / Forums / Modders Corner / Mafia Editing / Mafia Mod Request / I want to get drunk much longer!!!

10 replies
13 years, 8 months ago
#6881

Sorry for silly request, and sorry for my broken English.

But I want to make the time longer that while get drunk.

Or if the state while get drunk could turn on and off, it will be the best.

Can anybody help me?

13 years, 8 months ago
#12655

You mean drunk time when went from bar?

 

game.hud:EffectAlcoholDrunk(100)

 

And effect that displays when you are drinking

 

game.hud:EffectAlcoholHit()
13 years, 8 months ago
#12658

That’s it!! It works!!

Really thank you for your kindness and knowledge!!

13 years, 8 months ago
#12661

this command is here

 

http]

13 years, 8 months ago
#12663

Thank you eXistenZ34, for your work and help!

I will study by using this

13 years, 8 months ago
#12664

You can also use this style of walking

game.game:GetActivePlayer():SetAnimStyle(“common”,”DrunkHomeless”)

 

and to return to the normal

game.game:GetActivePlayer():SetAnimStyle(“common”,”default”)

13 years, 8 months ago
#12667

ExistenZ

Could you write some more animation types? Like walking wounded and other? I can’t find a list of them.

13 years, 8 months ago
#12669

jaca37

All these styles are in “ingame”

can be used with an injector

 

p=game.game:GetActivePlayer()

DelayBuffer:Insert(function(l_1_0)return p:SetAnimStyle(“common”,”????“)end,{l_1_0},100,1,false)

????

 

 

default

Injury

ManColdWeapon

Camelot

ManReadingNewspaper

CarryBox

WalkTorchCivil

PrisonerWalkHandcuffs

WalkNoggingRightHand

AngeloRifle

GalanteSneaking

ManHandsFolded

FatMan

ManNewspaperSubaxillary

ManHandsInPockets

ManOneHandInPocket

ManSlowWalk

Homeless

OldMan

ManQuickWalk

ManBigSuitcase

WomanHeel

WomanHeelQuick

WomanHeelSlow

WomanHeelHandbag

OldWoman

WalkWithShovel

PrisonerBallSubaxillary

PrisonerDribling

PrisonerClothCrotch

ManUmbrellaOpen

ManUmbrellaClosed

ManBigBag

ManWalkHotdog

WalkCoughCanal

WomanUmbrellaOpen

WomanUmbrellaClosed

HomelessHotdog

VitoCleaningWindow

GuardBatonLaxQuick

GuardBatonKnockQuick

GuardBatonKnockSlow

GuardBatonBack

GuardBatonLaxSlow

PrisonerWalkHandDown

PrisonerFoppishWalk

PrisonerHandsFolded

PrisonerHandsAkimbo

WalkTorchNormal

ManWashingPowder

ManNoggin

ManBag

ManBagAndNoggin

WomanNoggin

ManPushCartCloths

ManPullClothsRack

DrunkHomeless

Drunk

WalkInSewer

ManHandsUp

WomanHandsUp

GangsterShopping

Hasis

PrisonerWalkHandcuffs2

WalkNPCEmptyNoggin

WalkNPCFullNoggin

JoeThrashed

WorkerBag

RelaxGangsterCigarette

SlowWalkGangster

SlowWalkPrisoner

ButcherWithHam

WalkTalking

GuardSlowWalkA

GuardSlowWalkB

HenrySneakA

HenrySneakB

ManWinterCrossHands

ManWinterHandsDown

ManWinterHoldingCoat

ManWinterHandsPockets

WomanWinterHandsJoined

WomanWinterCrossHands

WomanWinterHandCollar

WomanWinterHandbag

GuardWalkQuick

 

 

13 years, 8 months ago
#12670

eXistenZ34, so much appreciation for you

and excuse me, I have one more question.

these 2 types of lua command can be combined into 1 F* key?

like the on or off switch.

I have to separate these lua command using 2 F* key?

like F1 is activate and F2 is disable.

13 years, 8 months ago
#12671

Use this one for single F-key:

 

if i==nil then i=1

game.game:GetActivePlayer():SetAnimStyle(“common”,”DrunkHomeless”)

else

i=nil

game.game:GetActivePlayer():SetAnimStyle(“common”,”default”) end

13 years, 8 months ago
#12672

Thank you jaca37!

This is very useful script!

Im going to learn little by little.

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