23.08.2015, 17:27
Hi all,
So I'm doing a system and faced an issue:
prints "0.000000 0.000000 0.000000"
Why does it give wrong rotation?
Do I have to update the streamer somehow? I know there is a function
but it requires playerid, and I don't have any players.
thanks for help
Edit: above code was wrong because object did not exist, but the problem with wrong rotation returns is still here.
So I'm doing a system and faced an issue:
Код:
new Float:RotX,Float:RotY,Float:RotZ; SetDynamicObjectRot(0,0.0,0.0,64.0); GetDynamicObjectRot(0,RotX,RotY,RotZ); printf("%f %f %f",RotX,RotY,RotZ);
Why does it give wrong rotation?
Do I have to update the streamer somehow? I know there is a function
Код:
Streamer_Update(playerid,type = -1)
thanks for help
Edit: above code was wrong because object did not exist, but the problem with wrong rotation returns is still here.