17.12.2018, 20:49
(
Последний раз редактировалось StRaphael; 18.12.2018 в 12:26.
)
Hello there, I have some problems here
So, when I am trying to set player's camera attached to an object while he's(the object) is moving, the camera stuck(dosn't move, while the object yes( I think so )).
My code looks like this:
What is wrong with my code?
Can someone testing this function/find out what the problem is?
Thank y'all in advance!
So, when I am trying to set player's camera attached to an object while he's(the object) is moving, the camera stuck(dosn't move, while the object yes( I think so )).
My code looks like this:
PHP код:
SnowObject[playerid] = CreateDynamicObject(18864, coordsfrom[0], coordsfrom[1], coordsfrom[2], 0, 0, 0);
AttachCameraToDynamicObject(playerid, SnowObject[playerid]);
MoveDynamicObject(SnowObject[playerid], coordsto[0], coordsto[1], coordsto[2], 19);
Can someone testing this function/find out what the problem is?
Thank y'all in advance!