Awang Posted January 31, 2019 Share Posted January 31, 2019 Hey Community! I wonder, if its possible to make dxCreateFont function to load font files from raw data in the future updates? Could be a good way to secure my paid fonts. Link to comment
Feche1320 Posted January 31, 2019 Share Posted January 31, 2019 You can read the font data from server, send it to client, load the font and then fileDelete Link to comment
Awang Posted January 31, 2019 Author Share Posted January 31, 2019 Yes, but if somebody just simple do a trick with the writing/reading/deleting acces of the folder then can allow to create the font, but after the script has no right for delete it... Thats why I prefer raw data like in shaders, models other lower sized files, send to cliens with LatentEvents... Link to comment
Feche1320 Posted February 1, 2019 Share Posted February 1, 2019 2 hours ago, Awang said: Yes, but if somebody just simple do a trick with the writing/reading/deleting acces of the folder then can allow to create the font, but after the script has no right for delete it... Thats why I prefer raw data like in shaders, models other lower sized files, send to cliens with LatentEvents... It is almost impossible to be faster than what MTA takes to load/delete the file Link to comment
Awang Posted February 1, 2019 Author Share Posted February 1, 2019 Its not about speed, its about the permission of read/write/change... Like in Linux, you can doit in Windows... Link to comment
Captain Cody Posted February 1, 2019 Share Posted February 1, 2019 1 hour ago, Feche1320 said: It is almost impossible to be faster than what MTA takes to load/delete the file MTAs file loading system is actually pretty bad. Link to comment
Recommended Posts