[SOLVED][NPC] Is it possible to add aura on it?
Solved. Thanks Arkshine & Lazarev
|
Re: [NPC] Is it possible to add aura on it?
NPC is an entity and get_user_origin works only with players.
If you take a look at that tutorial in your link then there is already used some way to get / set entity origin (the 3rd code block)... |
Re: [NPC] Is it possible to add aura on it?
Hmm
I still don't understand how to get a origin of a entity i tried with this PHP Code:
EDIT: Same goes for pev_origin |
Re: [NPC] Is it possible to add aura on it?
If you retrieve a float, use engfunc( EngFunc_WriteCoord, origin[ 0 ] ) for example.
|
Re: [NPC] Is it possible to add aura on it?
240 radius is uber big you will get low fps & lags, 40 is fine =)
PHP Code:
|
Re: [NPC] Is it possible to add aura on it?
Thanks arkshine & lazarev. It works :)
Solved. |
| All times are GMT -4. The time now is 08:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.