Select age with textdraws?
#2

At the top of your script:
pawn Код:
new age[MAX_PLAYERS];
When they click the right arrow:
pawn Код:
if(age[playerid] < MAX_AGE) age[playerid]++;
When they click the left arrow:
pawn Код:
if(age[playerid] > 1) age[playerid]--;
When they click 'ok', their age is stored in the 'age[playerid]' variable.
Reply


Messages In This Thread
Select age with textdraws? - by Inuro - 31.10.2014, 01:28
Re: Select age with textdraws? - by Threshold - 31.10.2014, 01:35
Re : Select age with textdraws? - by Inuro - 31.10.2014, 01:49
Re: Re : Select age with textdraws? - by DanishHaq - 31.10.2014, 07:16
Re: Select age with textdraws? - by DaniceMcHarley - 31.10.2014, 08:17
Re : Select age with textdraws? - by Inuro - 31.10.2014, 14:07

Forum Jump:


Users browsing this thread: 1 Guest(s)