26.11.2011, 09:38
Create a variable like PlayerLogged[MAX_PLAYERS] and only show the intro when it is set to 1 (change this upon a successful login).
Then have a HasPlayerViewedIntro[MAX_PLAYERS] which you can set to 1 following the intro.
Before showing the introduction, check for HasPlayerViewedIntro, if it = 1, skip it.
Make sure you save HasPlayerViewedIntro to file, so the next time your player logs in he doesn't have to go through the same thing.
Then have a HasPlayerViewedIntro[MAX_PLAYERS] which you can set to 1 following the intro.
Before showing the introduction, check for HasPlayerViewedIntro, if it = 1, skip it.
Make sure you save HasPlayerViewedIntro to file, so the next time your player logs in he doesn't have to go through the same thing.