Raised This Month: $ Target: $400
 0% 

Music Menu Advance


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 04-10-2020 , 03:39   Re: Music Menu Advance
Reply With Quote #10

Quote:
Originally Posted by HamletEagle View Post
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.
confirm.
1. Is there any problem with the recognition of the execution order?
plugin_init => plugin_precache => plugin_cfg
2. roger that.
3. Currently working.
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- 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