Get walking ground origin or smthn
PHP Code:
|
Re: Get walking ground origin or smthn
iOrigin[ 2 ] is the z value. See if this holds distance from ground.
|
Re: Get walking ground origin or smthn
How? I tried to use this:
iOrigin[1] = 100 But that was wrong. So if i try this: iOrigin[2] = 100 it can be ok, right? Or mby I should try this: iOrigin[2] = pev(client, pev_origin, origin); Damn.. Im so newbie at this.. Please help. :) |
Re: Get walking ground origin or smthn
Sorry for dp, but i dont need z origin. I need y. I need to get the distance from the ground to the spray (height):
^ | | Like that.. :D |
Re: Get walking ground origin or smthn
Right, do a print of iOrigin[ 2 ] after the read_data(5), this may hold what youre looking for.
|
Re: Get walking ground origin or smthn
What do you mean with print? I have to type print after read_data(5)?
|
Re: Get walking ground origin or smthn
iOrigin[ 2 ] holds z value. Whatever you plan on doing with the value you need, use that.
|
Re: Get walking ground origin or smthn
Can you say it in code? :?
|
Re: Get walking ground origin or smthn
new the_value_you_want = iOrigin[ 2 ];
|
Re: Get walking ground origin or smthn
PHP Code:
|
| All times are GMT -4. The time now is 00:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.