HOW TO DO THIS?
#5

Just use OnPlayerKeyStateChange and when your tutorial is finished you set a variable on them, like
pawn Код:
new tutfinish[MAX_PLAYERS];//or make a player varible here instead

//on the tutorial finish do like this:
tutfinish[playerid] = 1;

//and onkeystatehcange you use:
if(newkeys & KEY_YES && tutfinish[playerid] == 1){
tutfinish[playerid] = 0;
//and your spawn functions here
}
Hope it helped
Reply


Messages In This Thread
HOW TO DO THIS? - by NinjaChicken - 21.08.2012, 07:48
Re: HOW TO DO THIS? - by Akira297 - 21.08.2012, 07:52
Re: HOW TO DO THIS? - by NinjaChicken - 21.08.2012, 07:53
Re: HOW TO DO THIS? - by Akira297 - 21.08.2012, 07:55
Re: HOW TO DO THIS? - by Ranama - 21.08.2012, 08:07

Forum Jump:


Users browsing this thread: 2 Guest(s)