SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Русский/Russian

Reply
 
Thread Tools Display Modes
Old 28/07/2012, 06:57 PM   #1
u.WiseAlex
Little Clucker
 
Join Date: Jul 2012
Posts: 13
Reputation: 0
Default GetTickCount

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

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

Last edited by u.WiseAlex; 28/07/2012 at 11:21 PM.
u.WiseAlex is offline   Reply With Quote
Old 10/08/2012, 04:44 PM   #2
lost13
Gangsta
 
Join Date: Aug 2009
Posts: 760
Reputation: 5
Default Re: MySQL R7 Крашит

Есть вообще уроки по использованию мускул плагина?
__________________
lost13 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tool/Web/Other] MySQL DB Manager - Easily manage your MySQL databases with this remote application fiki574 Tools and Files 13 22/07/2012 10:41 AM
Gang System MySQL StrickenKid to MySQL GStylezzz nGen.SoNNy Scripting Help 2 02/05/2012 04:37 PM
Can't connect to local MySQL server through socket '/tmp/mysql.sock' Ivan_Pantovic Help Archive 4 03/08/2011 02:50 PM
Mysql Move a record? (Mysql/pawn Question) DarrenReeder Help Archive 4 05/11/2010 08:23 PM


All times are GMT. The time now is 12:11 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.