SA-MP Forums Archive
moving skin selection - moving ballon - follow ballon 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: moving skin selection - moving ballon - follow ballon camera (/showthread.php?tid=471757)



moving skin selection - moving ballon - follow ballon camera - Fuler - 25.10.2013

Hello, I created a balloon that flies around the map (MoveObject)
I would now like to put skin in the form of the skin selection (SetPlayerPos) in moved ballon - the problem is that the balloon flying on the map - camera is not followed the balloon

Код:
public SetupPlayerForClassSelection(playerid)
{
	SetPlayerPos(playerid, x, y, z ); // in flying ballon
	SetPlayerCameraPos(playerid,x, y, z); //how to create follow ballon camera?
}
any ideas?
sorry for my bad english


Re: moving skin selection - moving ballon - follow ballon camera - iJumbo - 25.10.2013

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


Re: moving skin selection - moving ballon - follow ballon camera - Fuler - 25.10.2013

hmm, how add this to camerapos... in skin selection?


Re: moving skin selection - moving ballon - follow ballon camera - SilentSoul - 25.10.2013

https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
That will help you.


Re: moving skin selection - moving ballon - follow ballon camera - Fuler - 25.10.2013

thx;p