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
#2

I'm having this exact issue, but Im not using streamer at all... same code but its not dynamic, anyone help?
Reply
#3

Quote:
Originally Posted by Crayder
Посмотреть сообщение
I'm having this exact issue, but Im not using streamer at all... same code but its not dynamic, anyone help?
Can you show ur code?
Reply
#4

Quote:
Originally Posted by Rudy_
Посмотреть сообщение
Can you show ur code?
Nvm, it was because OnPlayerEditObject was never called!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)