Raised This Month: $ Target: $400
 0% 

Music Menu Advance


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-10-2020 , 03:17   Re: Music Menu Advance
Reply With Quote #10

1.It looks like this plugin is not working. g_bgm_path array is filled from load_bgm_files which is called in plugin_cfg.
You precache inside plugin_precache, which happens BEFORE plugin_cfg.
The result is you are not preaching anything, because during plugin_precache g_bgm_path array is empty.
2.Please use fopen/fgets(the new file natives) instead of read_file.
3.Could you use a dynamic array instead of a fixed array so there is no limit to how many songs can be added?

Note that this changes are required if you want this to remain approved.
__________________

Last edited by HamletEagle; 04-10-2020 at 03:19.
HamletEagle is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode