2020-11-23, 02:00 AM
(2020-11-22, 04:32 PM)JR_Junior Wrote:(2020-11-22, 02:44 PM)Pinch Wrote: Player_SetAudioStreamVolume(playerid, volume);
That is already possible on the client's side and it'll stay like that because it's not up to server to decide such things (also x y z)
AddSound(sound_id, file_name[]);
This is slowly becoming HL/AMX Mod X and I like it lol (except for the viruses)
And most of the stuff you listed are useless, I mean they shouldn't be hard-coded to the src when you already can get most of those data yourself, for example IsVehicleBurning, like it is if the hp is below 350 so just create a new function and return true or false via ternary operator (basically the same they'd do in the src)
1 -?Why can't the server set the volume of an audio stream, if we can control so much, why not just that?
2 - It can be done in another way, I just gave a suggestion.
3 - For you it may be useless, because you are a professional, you are the best and you do not need these things, but there are enough people that you would find very useful, people who are not professionals like you.
I'm sorry if this will be offending but what's your point?
1. One adjusting volumes would complicate the whole thing. We want a working optimized server not a slow as server because of over complication of things. open.mp / SA-MP was literally designed to use the least amount of resources possible.
2. Yes but my number one answer explains why.
3. I'm sorry but "professionals" did their job studying the whole thing the theory, the code, the syntax, how one piece of code works, how one piece of function works, how to remake such and such, and how a to build a program from scratch specially when you are still putting it into paper.?I am also a "professional", on another programming language Web Development to be exact?("But I am here scripting pawno language because I love SA-MP / open.mp"), and we take time to freaking read to optimize and perfect?our sh*t that's why professionals are recommended in creating scripts and programs because we take the effort to dive deep into the unknown while other's call us "professional" just to defame us.