14.06.2014, 20:54
EDIT: Solved, GetObjectRot -> GetDynamicObjectRot
Okay, so I am having an issue with GetObjectRot.
It doesn't return the correct object rotation for some reason.
It prints 0.000000 when it should print -90.00000. Do you know what's wrong?
Okay, so I am having an issue with GetObjectRot.
It doesn't return the correct object rotation for some reason.
pawn Код:
FBIDoor = CreateDynamicObject(1495, 1294.11646, 554.91089, 1066.70776, 0.00000, 0.00000, -90.00000);
new Float:RotX, Float:RotY, Float:RotZ;
GetObjectRot(FBIDoor, RotX, RotY, RotZ);
printf("%f", RotZ);