UAEpro Posted September 2, 2011 Posted September 2, 2011 Hi playSound support MP3, WAV, OGG, RIFF, MOD, XM, IT and S3M only why not to add more. . for example flv or swf because many radio station stream across swf player or flv if we could just embed the swf player so we can listen to the music ^.^ or add asf Many many radio station use asf and you can play asf through windows media player 2- why not to add new log sorter or for example onPlayerChat outputCustomLog(***.txt,message) so we can read the chat easily another example function sendingMonet() ... outputCustomLog(moneySender.txt,WhoSend .."Send".. Amount .."$ to ".. Receiver) so i can know who send to who .. and how many he sent .. that will make things easier ^.^
SDK Posted September 2, 2011 Posted September 2, 2011 2- why not to add new log sorter or for exampleonPlayerChat outputCustomLog(***.txt,message) so we can read the chat easily another example function sendingMonet() ... outputCustomLog(moneySender.txt,WhoSend .."Send".. Amount .."$ to ".. Receiver) so i can know who send to who .. and how many he sent .. that will make things easier ^.^ fileCreate, fileOpen, fileWrite, fileClose
Castillo Posted September 3, 2011 Posted September 3, 2011 Most of what you said is already achieveable via scripting, if you got some knowledge, you can get most of what you said done.
UAEpro Posted September 3, 2011 Author Posted September 3, 2011 2- why not to add new log sorter or for exampleonPlayerChat outputCustomLog(***.txt,message) so we can read the chat easily another example function sendingMonet() ... outputCustomLog(moneySender.txt,WhoSend .."Send".. Amount .."$ to ".. Receiver) so i can know who send to who .. and how many he sent .. that will make things easier ^.^ fileCreate, fileOpen, fileWrite, fileClose i know .. but it will not go to log folder .. it will be in the same resource i tried to use "././" to go back .. but it didn't work for me Most of what you said is already achieveable via scripting, if you got some knowledge, you can get most of what you said done. for the 1st thing ... the playSound function i cant achieve it via scripting .. because i think to support new format we need to edit the game core only if i use program to stearm radio through the internet and taking the source from something not spported from mtasa and the output will be s3m .. then it will work but also it will kill my bandwidth
SDK Posted September 3, 2011 Posted September 3, 2011 What's the problem with it being inside the resource? If it's relevant to it, no prob imo. If you want you can use the server log too with outputServerLog(). Also, take a look at this: http://www.yourmuze.fm, it converts radio streams for free I believe.
Recommended Posts