Moving Camera
#1

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

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

Can I have an example?
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)