> You can only get the user's origin with that (and its windows only since
> it's an offset).  You cannot change it.

Err.. says who? *(float*)(pEnt->GetUnknown() + OFFSET_ORIGIN_X) = fX; ...

But that method isn't very bright anyway, considering you have the
CBaseEntity definition - just access the vars directly. "But what of
invalidatephysicsrecursive and dirty origin handling" - well, you can
work those by going through CBaseEntity::KeyValue or whatever it's
called with "origin", "0 0 0" - or.. you can just use Teleport :P

If this is a server plugin then currently he doesn't have access to gEntList.

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

Reply via email to