❓ D3D nohands help
Alright this a c+p from Ni7r1x and I need some help to get it work since tbh with you I really don't like force updating to get nohands so why not just use my friend d3d so I got this:
models:
now here is the problem
When I try to put this on a DrawIndexedPrimitive function I cant get it to work because I keep getting the "Expected an expression" in the if statement, if someone could help me with this it will be awesome. ty
Yes, I know c++ been learning it as well with WinApi and I cant this to work.
models:
Code:
#define t_hands1 ((Stride==32) && (NumVertices==6952) && (PrimitiveCount==12834)) #define t_hands2 ((Stride==32) && (NumVertices==6954) && (PrimitiveCount==12834)) #define t_hands3 ((Stride==32) && (NumVertices==9250) && (PrimitiveCount==17036)) #define t_hands4 ((Stride==32) && (NumVertices==10644) && (PrimitiveCount==19878)) #define t_hands5 ((Stride==32) && (NumVertices==7948) && (PrimitiveCount==14512)) #define t_hands6 ((Stride==32) && (NumVertices==9078) && (PrimitiveCount==16780)) #define t_hands t_hands1 || t_hands2 || t_hands3 || t_hands4 || t_hands5 || t_hands6 #define ct_hands ((Stride==32) && (NumVertices==8772) && (PrimitiveCount==16398))
now here is the problem
Code:
// Nohands
HRESULT DrawIndexedPrimitive(
if (HANDS_activation && ct_hands || t_hands)
return D3D_OK);
Yes, I know c++ been learning it as well with WinApi and I cant this to work.

. Easiest method out there.