Selection with arrows
#1

Hi all,
I'm working on registration, and I came to the selection year.

I have something like this:
PHP код:
new
    
age[2]; 
PHP код:
else if(clickedid == RegisterTD[24])// Arrows Left
{
    
format(agesizeof(age), "Example");
    
TextDrawSetString(Text:RegisterTD[23], age);
}
else if(
clickedid == RegisterTD[25])// Arrows Right
{
    
format(agesizeof(age), "Example");
    
TextDrawSetString(Text:RegisterTD[23], age);

How to do when you reach a certain number can't go further and that it must use a another arrows to go back?
Reply
#2

You just hide the textdraw, so the player can't press the button anymore.
Reply
#3

Quote:
Originally Posted by Unte99
Посмотреть сообщение
You just hide the textdraw, so the player can't press the button anymore.
I didn't think of it. Thanks.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)