07.02.2013, 13:19
You didn't answer my question, so I can't provide you code. However I'll try to get your thinking on right tracks.
As you can see it will trigger only if TutTime for player is greater than or equal to 1.
When the tutorial is completed, tuttime is set to 1, and pTut is as well set to 1. From now on I will assume that pTut means that player completed the tutorial
Now, as we know from first point if the TutTime is less than 0, tutorial won't start at all.
Other thing is that I don't know where your code is placed. Is first piece in some timer? Where in the hell is the second piece placed?
pawn Код:
if(TutTime[i] >= 1)
pawn Код:
case 196:
{
TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
pawn Код:
if(PlayerInfo[playerid][pTut] == 1)
{
//(...)
SendClientMessage(playerid, COLOR_LIGHTRED, "You will now proceed to the Tutorial.");
//(...)
TutTime[playerid] = 0;
}
Other thing is that I don't know where your code is placed. Is first piece in some timer? Where in the hell is the second piece placed?

