Simple Question.
#2

I suggest you, to make your code as clear as possible, to use only one function but with a "step" parameter.

For example

PHP код:

public tutorial(playeridstep)
{
      switch(
step)
      {
            case 
1:
            {
                  
// First step of your tutorial
                  
SetTimerEx("tutorial"timefalse"ii"playerid2);
            }
            case 
2:
            {
                  
// Second step of your tutorial
                  
SetTimerEx("tutorial"timefalse"ii"playerid3);
            }
      }
      return 
1;

I think you've understood.
And using this way, you will also be able to see what's going wrong in each specific step without searching through each step to know the next one.
Reply


Messages In This Thread
Simple Question. - by Clad - 07.06.2014, 14:50
Re : Simple Question. - by S4t3K - 07.06.2014, 14:58
Re : Simple Question. - by Clad - 07.06.2014, 15:00
Re : Simple Question. - by S4t3K - 07.06.2014, 15:03
Re : Simple Question. - by Clad - 07.06.2014, 15:05
Re : Simple Question. - by S4t3K - 07.06.2014, 15:07
Re : Simple Question. - by Clad - 07.06.2014, 15:12
Re : Simple Question. - by S4t3K - 07.06.2014, 15:15

Forum Jump:


Users browsing this thread: 1 Guest(s)