Posts: 363
Threads: 90
Joined: Nov 2010
Reputation:
0
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.
Posts: 36
Threads: 6
Joined: Nov 2014
Reputation:
0
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY);
Posts: 363
Threads: 90
Joined: Nov 2010
Reputation:
0
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.
Posts: 1,192
Threads: 10
Joined: Dec 2017
Reputation:
0
freeze the player to prevent hits while smoking if that's what you're asking for.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by alanhutch
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.