29.11.2013, 01:13
You don't need this in this case ( PInfo[playerid][pLastLogin] )
next
use sscanf to separate and compare day
you can compare month names too
next
use sscanf to separate and compare day
pawn Код:
sscanf(tmp,"s[15]i{i}s[9]",lastMonth,lastDay,lastTime);
getdate(...);
pawn Код:
if(CurrentDay == lastDay)
format(str,sizeof(str),"Welcome blabla on Today, at %s",lastTime);
else
format(str,sizeof(str),"Welcome blabla on %s %d, %d at %s",lastMonth,lastDay,year_from_getdate,lastTime);
SendClientMessage(...);