Camera can be moved
#7

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

Example:
pawn Код:
TogglePlayerSpectating(playerid, true);
AttachCameraToObject(playerid, CreateObject(19475, 0, 0, 10, 0.0, 0.0, 0.0));
Will create a movable camera at the coordinates: 0.0, 0.0, 10.0

pawn Код:
TogglePlayerSpectating(playerid, true);
AttachCameraToObject(playerid, CreateObject(19475, x, y, z, 0.0, 0.0, 0.0));
Replace 'x', 'y' and 'z' with your desired coordinates respectively.
Reply


Messages In This Thread
Camera can be moved - by arlindi - 24.01.2015, 11:52
Re: Camera can be moved - by Ironboy - 24.01.2015, 11:59
Re: Camera can be moved - by arlindi - 24.01.2015, 12:00
Re: Camera can be moved - by Threshold - 24.01.2015, 12:15
Re: Camera can be moved - by ATGOggy - 24.01.2015, 12:22
Re: Camera can be moved - by arlindi - 24.01.2015, 12:26
Re: Camera can be moved - by Threshold - 24.01.2015, 14:49
Re: Camera can be moved - by arlindi - 24.01.2015, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)