SA-MP Forums Archive
SetPlayerCameraLookAt - 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: SetPlayerCameraLookAt (/showthread.php?tid=511781)



SetPlayerCameraLookAt - SAMP2000 - 07.05.2014

To SetPlayerCameraLookAt in 0.3e a parameter has been added. I am compiling with 0.3z files. Problem: Whenever adding CAMERA_CUT or CAMERA_MOVE to my SetPlayerCameraLookAt it tells me: Number of arguments does not match.

pawn Код:
SetPlayerCameraLookAt(playerid, 1.0, 1.0, 1.0, CAMERA_MOVE);
It works like that:

pawn Код:
SetPlayerCameraLookAt(playerid, 1.0, 1.0, 1.0);



Re: SetPlayerCameraLookAt - Konstantinos - 07.05.2014

I compiled with 0.3z files and CAMERA_MOVE included in the function without the warning you got. Update the server package (executables + includes) again.