06.08.2018, 22:39
You can have an example..
LoadPlayerDataFromSQL
Shows in /Stats
Hope this helped ya
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);
PHP код:
format(string, sizeof(string), "Registration Date: [%02d/%02d/%02d]\n",
gStr2, PlayerInfo[playerid][Year], PlayerInfo[playerid][Month], PlayerInfo[playerid][Day]);