07.08.2015, 01:51
new bool:lastmove[MAX_OBJECTS];
I'm on my tablet so I'm not going to dig for my actual fix, but here is a slight psuedo of what it's like. If someone could add the actual shit for this guy that'd be greatly appreciated by him (I suppose).
Basically this will alternate between up and down movements that are hardly noticeable so the object will actually rotate when there is no movement applied.
I'm on my tablet so I'm not going to dig for my actual fix, but here is a slight psuedo of what it's like. If someone could add the actual shit for this guy that'd be greatly appreciated by him (I suppose).
pawn Код:
MoveObject_Fix(...)
{
if(lastmove[objectid])
fZ += 0.00001;
else
fZ -= 0.00001;
lastmove[objectid] = !lastmove[objectid];
return MoveObject(...);
}
//ALS hook here (MoveObject = MoveObject_Fix)
