Changing Interior Spawn. - 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: Changing Interior Spawn. (
/showthread.php?tid=382132)
Changing Interior Spawn. [SOLVED] -
MrPlatinum - 02.10.2012
Hey all,
When players join the server and reclass they are spawned in a certain interior during class selection, is there anyway i can change it from.
Grove St house
Код HTML:
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
To say on Mount Chilliad?
Re: Changing Interior Spawn. -
Lordzy - 02.10.2012
Set the interior to 0 and replace Groove St's coordinates to Mount Chilliad's coords.
Re: Changing Interior Spawn. -
MrPlatinum - 02.10.2012
Okay, what about Camera pos?
Re: Changing Interior Spawn. -
Lordzy - 02.10.2012
Camera Pos means the position of camera facing you.
It doesn't needs a change if you just wanted to change the request class background to mount chilliad.
Re: Changing Interior Spawn. -
MrPlatinum - 02.10.2012
okay! thanks for your help