View Single Post
Re: how to let REAL players move ?
Old
  (#3)
Rick
Council Member
 
Rick's Avatar
 
Status: Offline
Posts: 690
Join Date: Dec 2003
Location: Holland
Default Re: how to let REAL players move ? - 17-01-2004

thanx ... but it didn't work
Calling updateclientdata or dispatchthink won't do anythink and setting the velocity gives weird results like no gravity. Unless I do it completely wrong...
Code:
pEntity->v.button |= IN_FORWARD;
UTIL_MakeVectors(pEntity->v.v_angle);
pEntity->v.velocity = gpGlobals->v_forward * pEntity->v.maxspeed;
But then I find it weird that +forward won't work or FakeClientCommand on a normal client failes on this
  
Reply With Quote