kk up top of your script with all the other "new xxxx[MAX_XXX_XXX]" 's
Place the following:
pawn Код:
new CompletedIntro[MAX_PLAYERS];
You have now declared your variable. YAY.
Next step, head to the END of your Intro.
Right after you finish, literally the last thing you want to write inside the intro code is:
pawn Код:
CompletedIntro[playerid] = 1;
kk so we can now detect if a player has finished the introduction.
How to prevent this player from seeing it again?
Go to the START of your introduction code
Insert the following:
pawn Код:
if(CompletedIntro[playerid] == 1) return 1;
Congratulations! We now can prevent a player from having to relive the intro everytime they die.
Next step, saving that variable to a file. I'm sure there's methods inside your gamemode to do that but I really can't be bothered downloading it right now lmao, i'll do it in the morning if noone goes through it before then