New Member
- Joined
- Oct 8, 2011
- Messages
- 21
- Best answers
- 0
I've made this code to actually spawn the charge into the player's attachment origins which are coded in the model but the entities or entity doesn't spawn into the exact origin they should.So how does the ecx rc2 charge works? Was trigonometry used a lot or is it even needed?
Code:
new Float:Origin[3], Float:Angles[3];
engfunc( EngFunc_GetAttachment, Client, 0, Origin, Angles );
set_pev( KameEnt[ Client ], pev_origin, Origin );
set_pev( KameEnt[ Client ], pev_angles, Angles );