SA-MP Forums Archive
0.3c backdriving horn - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 0.3c backdriving horn (/showthread.php?tid=204388)



0.3c backdriving horn - thimo - 29.12.2010

Hello i came to the idea to make a horn for driving backwards when you drive backwards then it does BEEP! BEEP! BEEP! with horn anybody a idea how to do that?


Re: 0.3c backdriving horn - thimo - 29.12.2010

Anyone has a script?


Re: 0.3c backdriving horn - Hal - 29.12.2010

First, wait 48 hours to bump your thread....

and no, its not possible


Re: 0.3c backdriving horn - (.Aztec); - 29.12.2010

Quote:
Originally Posted by Hal
Посмотреть сообщение
First, wait 48 hours to bump your thread....

and no, its not possible
Not possible without an audio plugin*


Re: 0.3c backdriving horn - [WF]Demon - 29.12.2010

Or SetVehicleParamsEx


Re: 0.3c backdriving horn - thimo - 29.12.2010

Its possible i saw it in Convoy Trucking 188.165.199.40:7500 drive backwards in a truck (Its for 0.3c) Pls help!


Re: 0.3c backdriving horn - Infamous - 29.12.2010

It could be possible using a timer and the relevant soundid.

Код:
SOUND_SWEETS_HORN  1147



Re: 0.3c backdriving horn - Steven82 - 29.12.2010

Quote:
Originally Posted by Infamous
Посмотреть сообщение
It is possible to use a timer and play the car horn soundid when reversing.
Thats what i was gonna say D:


Re: 0.3c backdriving horn - Scenario - 29.12.2010

Quote:
Originally Posted by Hal
Посмотреть сообщение
First, wait 48 hours to bump your thread....

and no, its not possible
Actually, it is possible and quite simple to do. You could use a timer and "OnPlayerKeyStateChange" to see if the player is HOLDING the reverse button. If they are, run the timer and make a "beep" noise...


Re: 0.3c backdriving horn - Hal - 29.12.2010

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Actually, it is possible and quite simple to do. You could use a timer and "OnPlayerKeyStateChange" to see if the player is HOLDING the reverse button. If they are, run the timer and make a "beep" noise...
yea, i didn't think of going about it that way.

OP: ____ Is not defined errors are the easiest. SEARCH!!!!!!!!!!!!!!!!