Raised This Month: $ Target: $400
 0% 

need offset


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 10-18-2014 , 14:56   need offset
Reply With Quote #1

A year ago I found offset showing coodinates of a player on map ( exactly like pev_origin )

Cant remember, similar to
blah. X
blah. Y


can someone tell me what offset that was
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-18-2014 , 15:03   Re: need offset
Reply With Quote #2

Is there a reason you don't just use pev_origin or get_user_origin()?
__________________
fysiks is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 10-18-2014 , 15:17   Re: need offset
Reply With Quote #3

just curious. I thought offsets are more efficient
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-18-2014 , 15:31   Re: need offset
Reply With Quote #4

I don't know why people think that. Use the ones that already work. Ideally, as a plugin writer, you should never need to use offsets (i.e. there should be functions that do what you need already that use the offsets internally in the DLL where it is most efficient). The only time that you should consider using offsets directly is if a function does not already exist to do what you want. In your case, there are at least two functions to do what you want. Use those.
__________________
fysiks is offline
Reply



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 17:45.


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