Timer on this.
#1

Alright, well I don't want people to beable to just type next all through the tutorial, so how would I make this command have to wait about 15 seconds to beable to use it.
pawn Код:
if(! strcmp(text, "Next", true)) {
        if(Player[playerid][Tutorial] >= 1) {
            if(Player[playerid][ServerTut] >= 1) {
                switch(Player[playerid][ServerTut]) {
                    case 1:
In other words, make it so that in order to use this command, you have to wait 15 seconds, if you try and type it before the 15 seconds is up, it will display a message saying "Enough time has not passed yet, please read the text throughly"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)