Quote:
Originally Posted by NeXTGoD
You can have an example..
LoadPlayerDataFromSQL
PHP код:
PlayerInfo[playerid][Year] = cache_get_field_content_int(i, "Year", gMySQL);
PlayerInfo[playerid][Month] = cache_get_field_content_int(i, "Month", gMySQL);
PlayerInfo[playerid][Day] = cache_get_field_content_int(i, "Day", gMySQL);
Shows in /Stats
PHP код:
format(string, sizeof(string), "Registration Date: [%02d/%02d/%02d]\n",
gStr2, PlayerInfo[playerid][Year], PlayerInfo[playerid][Month], PlayerInfo[playerid][Day]);
Hope this helped ya 
|
He have a timestamp not separate things to store the date.
OP: You need to load the date as a string not as int or anything else.