SA-MP Forums Archive
PROBLEM WITH MOVING CAMERA BEFORE 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PROBLEM WITH MOVING CAMERA BEFORE SPAWN (/showthread.php?tid=126432)



PROBLEM WITH MOVING CAMERA BEFORE SPAWN - Brian_Furios - 08.02.2010

Hi everyone...how to move the camera before player spawn.HELP


Re: PROBLEM WITH MOVING CAMERA BEFORE SPAWN - Finn - 08.02.2010

OnPlayerRequestClass

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
  if(classid == maybe some specific class?)
  {
    SetPlayerCameraPos(playerid, 0.0, 0.0, 0.0);
    SetPlayerCameraLookAt(playerid, 0.0, 0.0, 0.0);
  }
  return 1;
}



Re: PROBLEM WITH MOVING CAMERA BEFORE SPAWN - Brian_Furios - 08.02.2010

Quote:
Originally Posted by Finn
OnPlayerRequestClass

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
  if(classid == maybe some specific class?)
  {
    SetPlayerCameraPos(playerid, 0.0, 0.0, 0.0);
    SetPlayerCameraLookAt(playerid, 0.0, 0.0, 0.0);
  }
  return 1;
}

not work!! the camera no move



Re: PROBLEM WITH MOVING CAMERA BEFORE SPAWN - ¤Adas¤ - 08.02.2010

Try setting timer somehow.