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
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-04-2009 , 11:24   Setting origin with set_pev vs set_user_origin
Reply With Quote #1

PHP Code:
set_user_origing_BotID fVictimOrigin )

set_pev g_BotIDpev_origin fVictimOrigin 
I tried using both in my aimbot detection plugin but when I use set_pev, the bot is unable to be shot once I set the origin. Ham_TakeDamage never gets called when I shoot it.

When I use set_user_origin, it functions properly and takedamage gets called when shot. Is there something else I need to call after the set_pev?
__________________

Last edited by Bugsy; 02-04-2009 at 11:39.
Bugsy is offline
 


Thread Tools
Display Modes

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