Camera view on connect - 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 view on connect (
/showthread.php?tid=289406)
Camera view on connect -
Sean418 - 11.10.2011
i tried to change camera view when a player connects i added
SetPlayerCameraPos(playerid, -1361.33, 1364.28, 155.77);
SetPlayerCameraLookAt(playerid, -1756.13, 976.58, 95.84);
in
public OnPlayerConnect(playerid)
but nothing happens. Could someone tell me how to change the camera view on connect?
Re: Camera view on connect -
aRoach - 11.10.2011
pawn Код:
SetPlayerCameraPos(playerid, -1361.33, 1364.28, 155.77);
SetPlayerCameraLookAt(playerid, -1756.13, 976.58, 95.84);
To OnPlayerRequestClass
Re: Camera view on connect -
Stigg - 11.10.2011
Put it under:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
EDIT: Too slow