Raised This Month: $ Target: $400
 0% 

Setting origin with set_pev vs set_user_origin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-05-2009 , 00:37   Re: Setting origin with set_pev vs set_user_origin
Reply With Quote #5

fm_set_user_origin requires an int origin param.
fm_set_user_origin( id , param )

Per fakemeta_util.inc, the above function converts the origin to a float and then calls fm_entity_set_origin( id , floatrigin ). I am using the fm_entity_set_origin call directly and it is working +karma
__________________
Bugsy is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode