Checking object pos
#1

Hi i've a big problem with checking object pos
top
Код:
new something;
init
Код:
something = CreateObject(ID, 2001.3964, 1547.1013, 13.5002, 3.4377, 355.7028, 270.6186);
and public with timer who is checking this object pos
Код:
public Object() {
new Float:OX,Float:OY,Float:OZ;
GetObjectPos(something,OX,OY,OZ);
if(OX != 2001.3964 && OY != 1547.1013) {
SetObjectPos(something,2001.3964, 1547.1013, 13.5002);
SetObjectRot(something, 3.4377, 355.7028, 270.6186);
}
return 1;
}
but if i change pos of this object nothing happend

how to fix this i'm testing with DestroyObject and Create new but nothing too :/
Reply


Messages In This Thread
Checking object pos - by Jefff - 17.05.2009, 21:52
Re: Checking object pos - by Weirdosport - 17.05.2009, 21:59
Re: Checking object pos - by Jefff - 18.05.2009, 09:49
Re: Checking object pos - by Weirdosport - 18.05.2009, 10:16

Forum Jump:


Users browsing this thread: 2 Guest(s)