17.05.2009, 21:52
Hi i've a big problem with checking object pos
top
init
and public with timer who is checking this object pos
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 :/
top
Код:
new something;
Код:
something = CreateObject(ID, 2001.3964, 1547.1013, 13.5002, 3.4377, 355.7028, 270.6186);
Код:
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; }
how to fix this i'm testing with DestroyObject and Create new but nothing too :/