Change the server connect screen? - 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: Change the server connect screen? (
/showthread.php?tid=503923)
Change the server connect screen? -
rangerxxll - 01.04.2014
How could I change this screen? I attempted to add my own:
pawn Код:
public OnPlayerConnect(playerid)
{
SetPlayerPos(playerid, -1576.5631,-2119.3020,87.9389);
SetPlayerCameraPos(playerid, -1565.6077,-2133.2703,87.9389);
SetPlayerCameraLookAt(playerid, -1498.9357,-2163.6809,21.9634);
TogglePlayerControllable(playerid, 0);
But it doesn't work. I've seen a few servers that somehow modified it. How could I do this?
EDIT: I've also used onplayerequestclass.
Re: Change the server connect screen? -
Bingo - 01.04.2014
Using
SetPlayerCameraPos &
SetPlayerCameraLookAt.
Try and then say,
Maybe this would work.
Re: Change the server connect screen? -
rangerxxll - 01.04.2014
I have.
Re: Change the server connect screen? -
Mattakil - 01.04.2014
TogglePlayerSpectating, then set a timer for 500ms and then put your camera shizzle.
Re: Change the server connect screen? -
Flake. - 01.04.2014
Just spawn the player and put your LookAt code under onplayerspawn
Re: Change the server connect screen? -
Crayder - 01.04.2014
Quote:
Originally Posted by (*|Flake|*)
Just spawn the player and put your LookAt code under onplayerspawn
|
Terrible idea, especially if OnPlayerRequestClass is to be used.
Re: Change the server connect screen? -
stundje - 01.04.2014
What kind of connection screen do you mean, like the Godfather edits such as HZRP and NGG?