Gaimo Posted January 15, 2019 Share Posted January 15, 2019 Como posso desativar os sons de tiro de fundo do gta, mesmo quando não tem jogadores por perto, fica sons de tiros. Link to comment
Feche1320 Posted January 15, 2019 Share Posted January 15, 2019 setAmbientSoundEnabled( "general", false ) setAmbientSoundEnabled( "gunfire", false ) Link to comment
Gaimo Posted January 15, 2019 Author Share Posted January 15, 2019 14 hours ago, Feche1320 said: setAmbientSoundEnabled( "general", false ) setAmbientSoundEnabled( "gunfire", false ) function onPlayerSpawnHandler ( ) local player = getLocalPlayer ( source ) setAmbientSoundEnabled( "general", false ) setAmbientSoundEnabled( "gunfire", false ) end addEventHandler( "onPlayerSpawn", root, onPlayerSpawnHandler ) Eu testei, mas não funcionou. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now