Dialog Small Issue(Fast help please)
#4

Quote:
Originally Posted by Akcent_Voltaj
Посмотреть сообщение
Dialog so look how can i make it so it allows this type dd/mm/yy (day/month/year) i type 22 and im born in 2012... please help

i put text above see cause i need it if i take it its underfind..

PHP код:
new text[128]; 
PHP код:
if(dialogid == 52)
                    {
                        if(
response)
                        {
                            new 
yearmonth,day;
                            
getdate(yearmonthday);
                            new 
DateInfo[3][20];
                            new 
check year strvalEx(DateInfo[2]);
                            
split(textDateInfo'/');
                            {
                                
PlayerInfo[playerid][pAge] = check;
                                
GetPlayerName(playeridsendernamesizeof(sendername));
                                
format(string,256,"Ok %s, deci ai %d ani.",sendernamePlayerInfo[playerid][pAge]);
                                
SCM(playerid,COLOR_GREY,string);
                                
RegistrationStep[playerid] = 0;
                                
TutTime[playerid] = 1;
                                
OnPlayerUpdateEx(playerid);
                            }
                        }
                    } 
Aint it gonna have junk value?
PHP код:
new DateInfo[3][20];
                            new 
check year strvalEx(DateInfo[2]); 
Reply


Messages In This Thread
Dialog Small Issue(Fast help please) - by Akcent_Voltaj - 30.07.2012, 21:02
Re: Dialog Small Issue(Fast help please) - by Camacorn - 31.07.2012, 03:58
Re: Dialog Small Issue(Fast help please) - by Ballu Miaa - 31.07.2012, 04:13
Re: Dialog Small Issue(Fast help please) - by [MM]RoXoR[FS] - 31.07.2012, 04:39
Re: Dialog Small Issue(Fast help please) - by Akcent_Voltaj - 31.07.2012, 12:47

Forum Jump:


Users browsing this thread: 3 Guest(s)