[SOLVED] Get Entity origin|vector|velocity..
how I know origin=vector=velocity :P
but when I try to get for example "button" origins[3] <fakemeta> Code:
new iEntity;Code:
new iEntity;server print: Code:
0.000000how to get Entity [button,doors..] origins? |
Re: Get Entity origin|vector|velocity..
I guess you are trying to get pev_origin of brush (button, doors?) wich will always equal to { 0, 0, 0 }, you have to use get_brush_entity_origin( )
|
Re: Get Entity origin|vector|velocity..
oh.. maybe :)
Code:
stock fm_get_brush_entity_origin(index, Float:origin[3]) {Code:
new iEntity; |
Re: Get Entity origin|vector|velocity..
Quote:
|
Re: Get Entity origin|vector|velocity..
Quote:
|
Re: Get Entity origin|vector|velocity..
what is better?
<fakemeta> Code:
stock fm_get_brush_entity_origin(index, Float:origin[3]) {Code:
stock get_brush_entity_origin(ent, Float:orig[3]) |
Re: Get Entity origin|vector|velocity..
Quote:
|
| All times are GMT -4. The time now is 14:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.