Spawn Point Wont chage
#9

Oh lol... wasn't reading the whole code.
Try this:
pawn Код:
public OnPlayerSpawn(playerid)
{
// Anti F4 Bug - Logging/Registering
if(IsPlayerNPC(playerid)) return 1;
if(PlayerInfo[playerid][pLoggedIn])
{
SetPlayerPos(playerid, -179.8350,1087.3606,19.7422);
SetPlayerFacingAngle(playerid, 241.9190);
SetPlayerCameraPos(playerid, 1975.203002, 3779.311523, 100.243506);
SetPlayerCameraLookAt(playerid, 1975.203002, 3779.311523, -0.243506);
SetTimerEx("ResetCam", 5000, false, "i", playerid);
//Remove SetSpawnInfo
//Code continues...
return 1;
}

//At the bottom of your script
forward ResetCam(playerid);
public ResetCam(playerid)
{
    SetCameraBehindPlayer(playerid);
    return 1;
}
Reply


Messages In This Thread
Spawn Point Wont chage - by Stefan_Merce - 31.12.2012, 09:45
Re: Spawn Point Wont chage - by Konstantinos - 31.12.2012, 09:48
Re: Spawn Point Wont chage - by JaKe Elite - 31.12.2012, 10:04
Re: Spawn Point Wont chage - by Stefan_Merce - 31.12.2012, 11:04
Re: Spawn Point Wont chage - by Stefan_Merce - 31.12.2012, 11:30
Re: Spawn Point Wont chage - by Threshold - 31.12.2012, 11:35
Re: Spawn Point Wont chage - by Stefan_Merce - 31.12.2012, 11:48
Re: Spawn Point Wont chage - by Stefan_Merce - 31.12.2012, 12:17
Re: Spawn Point Wont chage - by Threshold - 31.12.2012, 12:35
Re: Spawn Point Wont chage - by Stefan_Merce - 31.12.2012, 12:51

Forum Jump:


Users browsing this thread: 4 Guest(s)