Leon Hartwig wrote:
> 
> #0  0x42941e63 in rainbow ()
>    from /home/chicken/hlds_l/cstrike/dlls/admin_MM_i386.so

That would be am Adminmod function called from a script. It displays
a HUD message with the folowing parameters:

  m_textParms.r1 = params[6];
  m_textParms.g1 = params[7];
  m_textParms.b1 = params[8];
  m_textParms.a1 = 0;
  m_textParms.r2 = params[3];
  m_textParms.g2 = params[4];
  m_textParms.b2 = params[5];
  m_textParms.a2 = 0;
  
  m_textParms.fadeinTime = 0;
  m_textParms.fadeoutTime = 0;
  
  m_textParms.holdTime = params[2];   
  m_textParms.fxTime = params[2];
  
  m_textParms.x = -1;
  m_textParms.y = 0.25;
  
  m_textParms.effect=2;
  m_textParms.channel=1;
  
  UTIL_HudMessageAll( m_textParms,iszItem );

As usual, you can browse the Adminmod code via WebCVS. The rainbow()
function is in the file admin_commands.cpp:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/halflifeadmin/admin_v2/hl/admin_commands.cpp?rev=1.43.2.2&content-type=text/vnd.viewcvs-markup&only_with_tag=am-hl1108-fixes

Florian.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to