help with origin
PHP Code:
Thank you for your time! |
Re: help with origin
I didn't really look at it, but just a note:
Code:
if(task_exists(iClient))----- Also you don't really need to: Code:
static newangle[3]Code:
get_user_origin( iClient, gSpawnPosition[iClient]) |
Re: help with origin
This doesn't make sense:
Code:
abs(gDeathPosition[iClient][0] != gSpawnPosition[iClient][0])For example, abs(-3) = 3 abs(0) = 0 abs(3) = 3 The result of "x != y" is either 0 or 1, so it does not make sense to pass it into abs(). |
Re: help with origin
You should either use xs_vec_equal() or do a Google search on "Epsilon float precision".
|
Re: help with origin
Thanks alot, will try your tips!
|
| All times are GMT -4. The time now is 17:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.