SA-MP Forums Archive
Camera Position - 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: Camera Position (/showthread.php?tid=280856)



Camera Position - MuhammadFajar - 03.09.2011

I need help!
How to positioning camera, when player request a class ?
Please REPLY


Re: Camera Position - austin070 - 03.09.2011

https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt


Re: Camera Position - KoczkaHUN - 03.09.2011

Use SetPlayerCameraPos under OnPlayerRequestClass (HERE is a tutorial)

p.s: your SIG fails. if I put that code under OnVehicleDeath, OnVehicleSpawn, OnRconCommand, OnVehicleMod etc (any callback, according to your sig) it won't compile. haha.


Re: Camera Position - MuhammadFajar - 03.09.2011

Quote:
https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
Thanks!
Quote:

Use SetPlayerCameraPos under OnPlayerRequestClass (HERE is a tutorial)

Thanks too!
Quote:

p.s: your SIG fails. if I put that code under OnVehicleDeath, OnVehicleSpawn, OnRconCommand, OnVehicleMod etc (any callback, according to your sig) it won't compile. haha.

xD
Damn, my keyboard get burnt, and broken,Because my keyboard is too lazy to quote something xD


Re: Camera Position - Swc20 - 16.02.2012

How to make random camera positions, I mean that the camera changes view every 2 second and after 3 views it goes to player skin selection?