Issue with GetObjectRot
#1

EDIT: Solved, GetObjectRot -> GetDynamicObjectRot

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);
It prints 0.000000 when it should print -90.00000. Do you know what's wrong?
Reply


Messages In This Thread
Issue with GetObjectRot - by SKAzini - 14.06.2014, 20:54
Re: Issue with GetObjectRot - by Crayder - 26.10.2014, 08:11
Re: Issue with GetObjectRot - by Rudy_ - 26.10.2014, 08:22
Re: Issue with GetObjectRot - by Crayder - 26.10.2014, 08:27

Forum Jump:


Users browsing this thread: 1 Guest(s)