Raised This Month: $ Target: $400
 0% 

engine.inc problems


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 05-21-2005 , 23:31  
Reply With Quote #5

Using Engine Module:
Code:
// Get Origin Vector as Float new Float:fOrigin[3] entity_get_vector( playerID, EV_VEC_origin, fOrigin ) // Convert Origin Vector to Integer (requires engine_stocks.inc) new iOrigin[3] FVecIVec( fOrigin, iOrigin )

Then you can do what you want with either Origin (Float vec or Int vec)

Hope that helps!

Edit:
v3x you posted same time as me!

Edit2:
Haha! We did it again!
xeroblood is offline
Send a message via MSN to xeroblood
 



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 16:49.


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