[Tool/Web/Other] MMO 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)
+---- Forum: Tutorials (
https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tool/Web/Other] MMO Camera (
/showthread.php?tid=567504)
MMO Camera -
SnoopDy - 14.03.2015
Or something like that
The entire system will consist of a few lines,
only need to add a OnPlayerUpdate:
Код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
SetPlayerCameraPos(playerid, x-5, y, z+5);
SetPlayerCameraLookAt(playerid, x-4, y, z+4);
And spawn right to remove or not connected to the chamber (as SetPlayerBehindCamera)
Maked by Me ~ 15 minute and then at a rate
Picture:

Good Luck!
Re: MMO Camera -
Isolated - 14.03.2015
@ OnPlayerUpdate? Very unexplained tutorial. And simply bad. OnPlayerUpdate is called multiple times a second which will put a lot of stress on hardware.
Re: MMO Camera -
CalvinC - 14.03.2015
Could you explain anything, other than where to put it?
You're supposed to make a tutorial here, if you want to give players an useful function, go
here.
Re: MMO Camera -
SnoopDy - 14.03.2015
Ok,put it in secon timer or make arrows on td and put function)
P.S Bad English,sorr
Re: MMO Camera -
Excel™ - 15.03.2015
https://sampwiki.blast.hk/wiki/AttachCameraToPlayerObject
Much better way.