How to do it? - 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: How to do it? (
/showthread.php?tid=544892)
How to do it? -
Glossy42O - 04.11.2014
Hello, After i get my answer admin delete that thread cause it's wrong section i think..
Anyways, When i login to my server i see the beach but is there any way to switch it ?
Re: How to do it? -
Toxik - 04.11.2014
How you mean Switch ?
You cant change the Position .. But You can add textdraws over there
Hope i help you
Re: How to do it? -
HY - 04.11.2014
pawn Код:
SetPlayerCameraPos(playerid, X, Y, Z);
Example:
pawn Код:
public OnPlayerConnect
{
SetPlayerCameraPos(playerid, X, Y, Z);
return 1;
}
https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
Re: How to do it? -
Glossy42O - 04.11.2014
Didn't work
Re: How to do it? -
Toxik - 04.11.2014
Try out this one
Camera pos (Position of camera)
CametalookAt position where camera looks
![Wink](images/smilies/wink.png)
Hope i help you
pawn Код:
SetPlayerCameraPos(playerid, x,y,z);
SetPlayerCameraLookAt(playerid, x,y,z);
Re: How to do it? -
Glossy42O - 04.11.2014
Same
Re: How to do it? -
DavidBilla - 04.11.2014
Set a 5 second timer on OnPlayerConnect and try doing the camera pos and camera lookat thing
Re: How to do it? -
Glossy42O - 04.11.2014
Like that?
PHP код:
SetTimerEx("Connect", 5000, "d", playerid);
Re: How to do it? -
DavidBilla - 04.11.2014
Ya,try it out
Inside the timer, set the camera pos and lookat and then kill the timer
Re: How to do it? -
Glossy42O - 04.11.2014
Didn't work