NAN orgin :S
PHP Code:
And when i set the numbers all by my self the entity dosen't get spawned i have precached the model. |
Re: NAN orgin :S
The get_user_origin() function does not return a floated value. And entity_set_origin() sets an origin(floated one).
So you'd have to do it like this(using IVecFVec()): Code:
or you could just use float(). Code:
|
Re: NAN orgin :S
@Xellath: IVecFVec( ) is a stock using float( ).
PHP Code:
|
Re: NAN orgin :S
Yeah, saw that when I looked closer on the stock. Anyway, it's perfectly fine to write it both ways, no difference at all.
|
Re: NAN orgin :S
Yeah, just for info
|
Re: NAN orgin :S
But you can't do :
// im not sure but i think you could do this also // fOrigin = float( iOrigin ); |
| All times are GMT -4. The time now is 17:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.