<<>> Compare STRING
#1

I make this command.
PHP Code:
if(strcmp(cmd"/checkhelper"true) == 0)
    {
        new 
anomesdia;
        
getdate(ano,mes,dia);
        
format(SkillBasesizeof(SkillBase), "%s"PlayerInfo[playerid][pHelperData]);
        
format(empresastringsizeof(empresastring), "%i/%i/%i"diamesano);
        if(
strlen(SkillBase) == strlen(empresastring)) { SCM(playerid, -1"CONFERE"); }
        else { 
SCM(playerid, -1"NГO CONFERE."); }
        
SCM(playerid, -1SkillBase);
        
SCM(playerid, -1empresastring);
        return 
0x01;
    } 
I wanna check if the pHelperData conferr with the dia,mes,ano.
But doesn't work..
Thank for your help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)