Advertisement
Fabriciool

Wall

Jan 29th, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. if(opt.esp.WalllH)
  2. {
  3. if((m_Stride == 44 || m_Stride == 40))
  4. {
  5. pDevice->SetRenderState(D3DRS_ZENABLE,false);
  6. pDevice->SetRenderState(D3DRS_LIGHTING, true);
  7. pDevice->SetRenderState(D3DRS_SHADEMODE, D3DSHADE_GOURAUD);
  8. pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,128,128,128)); //Wall Hack
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement