hey,

i'm working on a mod that makes the player transparent for bursts of time,
and for now, i've put in  a couple lines of code under "items.cpp" in class
CItemSuit

    i've used

          m_pPlayer->pev->rendermode = kRenderTransAlpha;
          m_pPlayer->pev->renderamt = hide;

      where hide = 18 for now... anyway, i know it would work as a weapon,
but the commands aren't working as part of an item, not accepting the use of
m_pPlayer:

E:\phaseSource\dlls\items.cpp(184) : error C2065: 'm_pPlayer' : undeclared
identifier

              sorry, i'm a new/inexperienced coder, please, help me out
about how to fix this/get it to work (should i put it somewhere else?), thx

                                    [shArd] nonereally
                              http://www.shardsoftware.cjb.net

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

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

Reply via email to