Tutorial bugs [stuck]
#9

You didn't answer my question, so I can't provide you code. However I'll try to get your thinking on right tracks.

pawn Код:
if(TutTime[i] >= 1)
As you can see it will trigger only if TutTime for player is greater than or equal to 1.
pawn Код:
case 196:
{
    TutTime[i] = 0; PlayerInfo[i][pTut] = 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

pawn Код:
if(PlayerInfo[playerid][pTut] == 1)
{
    //(...)
    SendClientMessage(playerid, COLOR_LIGHTRED, "You will now proceed to the Tutorial.");
    //(...)
    TutTime[playerid] = 0;
}
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?
Reply


Messages In This Thread
Tutorial bugs [stuck] - by Stanford - 05.02.2013, 12:56
Re: Tutorial bugs [stuck] - by Stanford - 05.02.2013, 13:09
Re: Tutorial bugs [stuck] - by Misiur - 05.02.2013, 13:16
Re: Tutorial bugs [stuck] - by Stanford - 05.02.2013, 13:19
Re: Tutorial bugs [stuck] - by Misiur - 05.02.2013, 13:24
Re: Tutorial bugs [stuck] - by Stanford - 05.02.2013, 14:19
Re: Tutorial bugs [stuck] - by Stanford - 07.02.2013, 10:07
Re: Tutorial bugs [stuck] - by Stanford - 07.02.2013, 11:42
Re: Tutorial bugs [stuck] - by Misiur - 07.02.2013, 13:19
Re: Tutorial bugs [stuck] - by Stanford - 08.02.2013, 05:27

Forum Jump:


Users browsing this thread: 1 Guest(s)