21.06.2012, 10:35
Hello Guys, I have a question about Timers.
Ok, First of all.
I have a Dialog
So when player Select High jump it Activates High jump and when select again it De-Activates it...
The problem is I have added a Timer in my High jump Command so they have to wait to use it again, For example.
"I typed /class and select High Jump and jump'd High, and now i can't Jump (This system works fine). But when i type /class again and select High jump then we are able to jump high again without waiting.
Is there any way i can add a Timer in my Dialog or something like that? So if the timer in my High jump script is not Finished then even if they type /class and select > High jump they can't jump?
Would Appreciate.
Ok, First of all.
I have a Dialog
pawn Код:
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Class Selection", "{FF0000}Bite\n{00FF00}High jump", "Select", "Cancle");
The problem is I have added a Timer in my High jump Command so they have to wait to use it again, For example.
"I typed /class and select High Jump and jump'd High, and now i can't Jump (This system works fine). But when i type /class again and select High jump then we are able to jump high again without waiting.
Is there any way i can add a Timer in my Dialog or something like that? So if the timer in my High jump script is not Finished then even if they type /class and select > High jump they can't jump?
Would Appreciate.