HOW TO DO THIS?
#1

ok in my server i have after you do the tut /start to begin playing how can i have it so a text draw pops up saying press Y to spawn and choose your skin then when they press Y it will send the CMD /start but only once so it doesnt fuck up other shit?
Reply
#2

You mean like NGG's textdraw for the tutorial system?
Reply
#3

yea but not the text draw just at the end of my tutorial press y to spawn
Reply
#4

/withdrawsfromthetopic.
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)