Jump to content

[Question] Sound and Deny Buttons?


Recommended Posts

Posted

Hello everyone.

Im currentlyg working on a German Rescue Training Gamemode.

Now i have 2 Questions.

1. Is there a way to disable the "H" Button for the Policecar/Ambulance Sound?

2. How do i Play a sound on Num_5 for everyone around a certain car? I want to add a costum Alarm Sound for the Police Cars and such.

I hope someone can give me a hint

Greetings

NekoSteamBoy

  • MTA Team
Posted
  
unbindKey() 
bindKey() 
triggerClientEvent() 
triggerServerEvent() 
playSound3D() 
createColTube() 
isElementInColshape() 
  

  • MTA Team
Posted

yes, but you can always record the honk :P

or you can bind a key to "horn" that set's the vehicle emergency lights off (setVehicleEmergencyLights), it should also set sound off

Posted

Ah ok i see :D

Thanks alot i will try that to find out myself ^-^ i hope i can make it since im pretty new into lua *blush

So its possible to do this right?

On pressing num_5

Activate german-alarm.mp3 (3dsound)

Sound follows car

Activate Emergency lights

just asking to make that sure ^-^ so i dont try try try and just fail fail fail x'D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...