OK.
PHP код:
//when the tutorial starts:
//1st message
SendClientMessage(playerid,-1,"here the text");
SetTimerEx("OnPlayerInTutorial",10000,0,"ii",playerid,1);
//the callback for the timer:
forward OnPlayerInTutorial(playerid,step);
public OnPlayerInTutorial(playerid,step)
{
switch(step)
{
case 1:
{
//2nd message
SendClientMessage(playerid,-1,"here the text");
SetTimerEx("OnPlayerInTutorial",10000,0,"ii",playerid,2);
return 1;
}
case 2:
{
//3rd message
SendClientMessage(playerid,-1,"here the text");
SetTimerEx("OnPlayerInTutorial",10000,0,"ii",playerid,3);
return 1;
}
case 4:
{
//4th message
SendClientMessage(playerid,-1,"here the text");
SetTimerEx("OnPlayerInTutorial",10000,0,"ii",playerid,5);
return 1;
}
case 5:
{
//last tutorial step
SendClientMessage(playerid,-1,"here the text");
SetTimerEx("OnPlayerInTutorial",10000,0,"ii",playerid,5);
return 1;
}
case 6:
{
SendClientMessage(playerid,-1,"You're tutorial is finish.");
SpawnPlayer(playerid);
return 1;
}
}
return 1;
}
You can take SetPlayerCameraPos (+SetPlayerCameraLookAt) or InterpolateCameraPos (+InterpolateCameraLookAt).
SetPlayerCameraPos + SetPlayerCameraLookAt => the camera is on a fix point and show to a fix point
InterpolateCameraPos + InterpolateCameraLookAt => the camera move (you can fix the seconds how long the camera should move)
More information you can get in sa-mp wiki.