24.01.2015, 14:49
https://sampwiki.blast.hk/wiki/TogglePlayerSpectating
https://sampwiki.blast.hk/wiki/AttachCameraToObject
https://sampwiki.blast.hk/wiki/CreateObject
Example:
Will create a movable camera at the coordinates: 0.0, 0.0, 10.0
Replace 'x', 'y' and 'z' with your desired coordinates respectively.
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));
pawn Код:
TogglePlayerSpectating(playerid, true);
AttachCameraToObject(playerid, CreateObject(19475, x, y, z, 0.0, 0.0, 0.0));