SA-MP Forums Archive
Moving 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: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Moving Camera (/showthread.php?tid=185645)



Moving Camera - Luis- - 25.10.2010

Hey, I wanna know how I can have a moving Camera so it is moving across the towns? A little like RC-RP?


Re: Moving Camera - Hiddos - 25.10.2010

Use short timers which set the camera position a little further each time the specified callback gets called.


Re: Moving Camera - Luis- - 25.10.2010

Can I have an example?


Re: Moving Camera - chrism11 - 02.12.2010

like

forward bank();
Quote:

dcmd_movecam(const playerid,const params[])
{
SetTimer("bank",1,false);
}

then

Quote:

public bank(playerid)
{
SetPlayerCameraPos(playerid, 2067.4736, 1632.6481, 57.7657);
SetPlayerCameraLookAt(playerid, 2074.0156, 1574.2356, 27.0393);
}

and just add timers to the cmd and add the new pos at the public but dont forget to add the public and forward it

np