04.04.2015, 20:43
Try those:
https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
Or those:
https://sampwiki.blast.hk/wiki/InterpolateCameraPos
https://sampwiki.blast.hk/wiki/InterpolateCameraLookAt
Use them in callback https://sampwiki.blast.hk/wiki/OnPlayerConnect or here https://sampwiki.blast.hk/wiki/OnPlayerRequestClass . Second option can be more problematic, but it allow you to change players' camera pos every time they're changing their class.
https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
Or those:
https://sampwiki.blast.hk/wiki/InterpolateCameraPos
https://sampwiki.blast.hk/wiki/InterpolateCameraLookAt
Use them in callback https://sampwiki.blast.hk/wiki/OnPlayerConnect or here https://sampwiki.blast.hk/wiki/OnPlayerRequestClass . Second option can be more problematic, but it allow you to change players' camera pos every time they're changing their class.