Tutorial Problem
#1

Hello, Iam busy with a New RP Script, but, i have a problem in my Tutorial system:

Look this is the code:

Код:
public ShowTutorialForPlayer(playerid)
{
	if(PlayerInfo[playerid][pTutorial] == 0)
	{
		if(TutorialStep[playerid] == 1)
		{
			SetPlayerPos(playerid, -1408.8739, 797.3781, 47.2410);
		    SetPlayerCameraLookAt(playerid, -1633.5067, 804.0861, 58.4063);
			SetPlayerCameraPos(playerid, -1408.8739, 797.3781, 47.2410);

			SendClientMessage(playerid, COLOR_RED, "[ServerMSG]: Tutorial Step 1: Introducion");
			
			SetTimerEx("NexStepFromTutorial", 10000, 0, "d", playerid);
		}
		if(TutorialStep[playerid] == 2)
		{
		    // Rest
		    
		    SetTimerEx("NexStepFromTutorial", 10000, 0, "d", playerid);
		}
		if(TutorialStep[playerid] == 3)
		{
		    // Rest
		    
		    SetTimerEx("NexStepFromTutorial", 10000, 0, "d", playerid);
		}
		if(TutorialStep[playerid] == 4)
		{
		    // Rest
		    
		    SetTimerEx("NexStepFromTutorial", 10000, 0, "d", playerid);
		}
		if(TutorialStep[playerid] == 5)
		{
		    // Rest
		    
           SetTimerEx("PlayerFinishtTutorial", 5000, 0, "d", playerid);
		}
	}
	return 1;
}
the problem is, Its shows the message: [ServerMSG]: Tutorial Step 1: Introducion, But don't set the camera pos, or the Lookat pos....

Does anyone know?
Reply


Messages In This Thread
Tutorial Problem - by Gforcez - 11.09.2010, 18:42
Re: Tutorial Problem - by RSX - 11.09.2010, 19:00

Forum Jump:


Users browsing this thread: 1 Guest(s)