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