SA-MP Forums Archive
MySQL R7 Крашит - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Русский/Russian (https://sampforum.blast.hk/forumdisplay.php?fid=32)
+---- Thread: MySQL R7 Крашит (/showthread.php?tid=363804)



GetTickCount - u.WiseAlex - 28.07.2012

В OnGameModeInit():
PHP код:
mysql_function_query(ConnectionHandle"SELECT COUNT(`uid`) FROM `accounts`"true"OnGameModeStats""d"GetTickCount()); 
В OnGameModeStats(tickcount):
PHP код:
forward OnGameModeStats(tickcount);
public 
OnGameModeStats(tickcount)
{
    new 
rowsfields;
    
cache_get_data(rowsfields);
    
printf("%d\t%d\n\n\n\n"rowsfields);
    return 
1;

Сервер при запуске крашит, выяснил что всё это из-за GetTickCount, мне кажется что из-за того что слишком большое число ^^


Re: MySQL R7 Крашит - lost13 - 10.08.2012

Есть вообще уроки по использованию мускул плагина?