Raised This Month: $ Target: $400
 0% 

[DoDx] dod_get_map_info non functional after a few mapchange


  
 
 
Thread Tools Display Modes
Author Message
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 09-01-2005 , 10:14  
#1

okay, here's some more info to bring some light into the dark!

i used this little plugin to get some more info:
Code:
#include <amxmodx> #include <dodx> public plugin_init(){     register_plugin("Test TeamDetect","1.0","[RST] FireStorm")     set_task(5.0,"get_info") } public get_info(){     log_to_file("TeamDetect.log","==============================")     new currmapname[32]     get_mapname(currmapname,31)     log_to_file("TeamDetect.log","Current map: %s",currmapname)     if(dod_get_map_info(MI_ALLIES_TEAM) == 0){         log_to_file("TeamDetect.log","Current Allied Team: Americans")     }     if(dod_get_map_info(MI_ALLIES_TEAM) == 1){         log_to_file("TeamDetect.log","Current Allied Team: Brits")     }     if(dod_get_map_info(MI_ALLIES_PARAS) == 0){         log_to_file("TeamDetect.log","Allied Forces: Standard Troops")     }     if(dod_get_map_info(MI_ALLIES_PARAS) == 1){         log_to_file("TeamDetect.log","Allied Forces: Para Troops")     }     if(dod_get_map_info(MI_AXIS_PARAS) == 0){         log_to_file("TeamDetect.log","Axis Forces: Standard Troops")     }     if(dod_get_map_info(MI_AXIS_PARAS) == 1){         log_to_file("TeamDetect.log","Axis Forces: Para Troops")     }     return PLUGIN_HANDLED }

and it seems that the first map with Brits locks the team info as well
as the first map with para troopers locks the para info.

i hope that helps a bit to fix it!

here's the log:


P.S.:
@SidLuke:
i didn't say that you messed it up, that's why i posted it here
FeuerSturm 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 07:05.


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