openmultiplayer / omp-stdlib

Pawn includes
Mozilla Public License 2.0
41 stars 17 forks source link

[Enhancement] Make the x, y, z parameters in the PlayerPlaySound function optional #18

Closed shierru closed 9 months ago

shierru commented 1 year ago

I suggest that the x, y, z parameters be optional and have 0.0 as default. It's just that if the developer needs the sound to be played not by coordinates, he has to write unnecessary parameters. It's not long, and I do it quickly, but sometimes you want to write PlayerPlaySound(playerid, soundid) and that's it :)

I don't know, maybe for some reason it was originally done that way, then there's no question.