Return the object back
#3

This may be moving him without commands
Код:
new actualpos = 1;
new object1; // i don't recommend to use number as variable i used object1
object1 = CreateStreamedObject(354, 1840.1729,568.8357,25.3803,0,0,0); 
MoveStreamedObject(object1,1840.1729,568.8357,1.3803, 1.5);
public OnObjectMoved(objectid){
if(objectid == object1){
if(actualpos == 1 ){
actualpos == 0;
MoveObject(object1,1840.1729,568.8357,25.3803,1.5);
}
else{
actualpos = 1;
MoveObject(object1,1840.1729,568.8357,1.3803, 1.5);
}
}
return 1;
}
Reply


Messages In This Thread
Return the object back - by worms0 - 08.11.2009, 09:43
Re: Return the object back - by Peter_Corneile - 08.11.2009, 10:07
Re: Return the object back - by Kurence - 08.11.2009, 10:09
Re: Return the object back - by worms0 - 08.11.2009, 11:47
Re: Return the object back - by MenaceX^ - 08.11.2009, 11:49
Re: Return the object back - by Kurence - 08.11.2009, 12:05

Forum Jump:


Users browsing this thread: 1 Guest(s)