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.
June 09, 2012, 02:39:42 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
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?

#1 June 09, 2012, 04:00:42 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
You mean drunk time when went from bar?


 







<pre class="ipsCode">game.hud:EffectAlcoholDrunk(100)</pre>






 




And effect that displays when you are drinking


 







<pre class="ipsCode">game.hud:EffectAlcoholHit()</pre>

#2 June 09, 2012, 05:28:41 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
That's it!! It works!!




Really thank you for your kindness and knowledge!!

#3 June 09, 2012, 06:11:32 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
this command is here


 




http]

#4 June 09, 2012, 06:22:34 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Thank you eXistenZ34, for your work and help!




I will study by using this

#5 June 09, 2012, 06:42:54 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
You can also use this style of walking







Quotegame.game:GetActivePlayer():SetAnimStyle("common","DrunkHomeless")

 




and to return to the normal







Quotegame.game:GetActivePlayer():SetAnimStyle("common","default")

#6 June 09, 2012, 08:29:45 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
ExistenZ




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

#7 June 09, 2012, 11:14:28 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
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)




????


 




<div class="ipsSpoiler_header">



 




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


 




</div>

 

#8 June 10, 2012, 03:38:14 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
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.

#9 June 10, 2012, 06:30:49 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Use this one for single F-key:


 







Quoteif i==nil then i=1

game.game:GetActivePlayer():SetAnimStyle("common","DrunkHomeless")




else




i=nil




game.game:GetActivePlayer():SetAnimStyle("common","default") end



#10 June 10, 2012, 10:57:13 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Thank you jaca37!




This is very useful script!




Im going to learn little by little.