mtasa-blue
mtasa-blue copied to clipboard
Fix #3037: Add ResetPedVoice function - Bug fix
The function was bugged; it was never actually resetting ped's voice due to internal mta's logic.
Now should be fixed, function returns true when the voice was successfully reset, returns false if the voice was not changed (ie. player joins the server, player executes resetPedVoice without ever calling setPedVoice)
The old PR (#3042) was merged, so I had to make new PR