SA-MP Forums Archive
3D PLAYER CAMERA. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3D PLAYER CAMERA. (/showthread.php?tid=385311)



3D PLAYER CAMERA. - budelis - 15.10.2012

Hi,


Код:
objectXXX[playerid] = CreateDynamicObject(19300, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0); //iљgauname kameros pozicija.
AttachObjectToPlayer(objectXXX[playerid], playerid, 1.5, 0.5, 0.0, 0.0, 1.5, 2);
AttachCameraToDynamicObject(playerid, objectXXX[playerid]); //nustato 3D kamera.
Код:
AttachObjectToPlayer(objectXXX[playerid], playerid, 1.5, 0.5, 0.0, 0.0, 1.5, 2);
How to use this function in incognito streamer? i try

Код:
AttachDynamicObjectToPlayer
Buy streamer don't have this function.


Re: 3D PLAYER CAMERA. - Roel - 15.10.2012

Why don't you use this function;

https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject


Re: 3D PLAYER CAMERA. - budelis - 15.10.2012

Then how i use

AttachCameraToDynamicObject(playerid, objectXXX[playerid]); //nustato 3D kamera.


Re: 3D PLAYER CAMERA. - Roel - 15.10.2012

Ow I read it wrong, I think you can just use ,
AttachObjectToPlayer(objectXXX[playerid], playerid, 1.5, 0.5, 0.0, 0.0, 1.5, 2);
with streamed objects.
Did you even tried this already?