PDA

View Full Version : Smoking while walking animation?


alanhutch
14/01/2018, 05:37 PM
Hi all,
I saw in some server that when you make a hit from the cigarette while you are walking/running, you can continue to walk/run while you are smoking your cigarette without any interruption.
I searched the web but I didn't found nothing.

Can someone help me? Thanks a lot.

Daveosss
14/01/2018, 07:34 PM
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY);

alanhutch
19/01/2018, 03:33 PM
No, sorry if I didn't explained correctly.
I'm using a system with the attached object (with Custom Models) and when you press Y he take a hit, I can't use the Special Action.

alanhutch
20/01/2018, 01:52 PM
bump

RogueDrifter
20/01/2018, 01:57 PM
freeze the player to prevent hits while smoking if that's what you're asking for.

Sew_Sumi
20/01/2018, 03:11 PM
No, sorry if I didn't explained correctly.
I'm using a system with the attached object (with Custom Models) and when you press Y he take a hit, I can't use the Special Action.

Try using an animation... Pretty sure you can drink and smoke whilst walking.

SpecialAction brings up the cigar/bottle, but I think the animation does the rest.