SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 01/07/2019, 12:39 PM   #1
Bonch
Little Clucker
 
Join Date: Feb 2017
Location: Tbillisi, Georgia
Posts: 21
Reputation: 5
Default Special action drink beer, But with custom beer bottle.

A'y yo, Guys I thought it would be nice if you can remove the default object from
SPECIAL_ACTION_DRINK_BEER and then add the custom one, How do you think is it possible?
Bonch is offline   Reply With Quote
Old 02/07/2019, 12:30 AM   #2
$Marco$
Huge Clucker
 
$Marco$'s Avatar
 
Join Date: Sep 2012
Location: GetPlayerPos(playerid)
Posts: 360
Reputation: 127
Default Re: Special action drink beer, But with custom beer bottle.

Attach a beer object slightly larger above?
__________________
$Marco$ is offline   Reply With Quote
Old 02/07/2019, 07:26 PM   #3
willttoonn
Gangsta
 
willttoonn's Avatar
 
Join Date: Nov 2011
Location: Brazil
Posts: 913
Reputation: 88
Default Re: Special action drink beer, But with custom beer bottle.

Attach the custom beer and change the size to cover the SA-MP's native object.
__________________
Sometimes a captain has to make the unpopular call because that's his responsibility

Advanced Roleplay - Management and Head Developer
Brazilian Hard Roleplay Server


willttoonn is offline   Reply With Quote
Old 04/07/2019, 12:24 PM   #4
Bonch
Little Clucker
 
Join Date: Feb 2017
Location: Tbillisi, Georgia
Posts: 21
Reputation: 5
Default Re: Special action drink beer, But with custom beer bottle.

When you stop special action Pressing F, The object stays, Okay thanks. I will try.
Bonch is offline   Reply With Quote
Old 05/07/2019, 05:20 AM   #5
willttoonn
Gangsta
 
willttoonn's Avatar
 
Join Date: Nov 2011
Location: Brazil
Posts: 913
Reputation: 88
Default Re: Special action drink beer, But with custom beer bottle.

Use timer to remove the object after the SPECIAL_ACTION changes or use the OnPlayerKeyStateChange with F/ENTER (KEY_SECONDARY_ATTACK).
__________________
Sometimes a captain has to make the unpopular call because that's his responsibility

Advanced Roleplay - Management and Head Developer
Brazilian Hard Roleplay Server


willttoonn is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Map] Bar BEER HOUSE - [Textured] Gaguinho Maps 0 26/08/2017 03:56 AM
[FilterScript] [FS]Drink System (Beer,Wine) NappeR Filterscripts 12 04/01/2017 11:06 AM
Beer AnonScripter Scripting Help 2 27/05/2014 04:56 PM
[FilterScript] [FS]Club Jizzy pickup Drink BEER,Wine,Sprunk,Smoke(DIALOG) [1corp]vlad Filterscripts 9 18/03/2012 11:41 AM


All times are GMT. The time now is 05:07 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.