Server crash when i connect
#3

I solved it.
but i have warning in gm for mysql
C:\samp\NGM.PWN(2015) : warning 219: local variable "query" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 10104 bytes
Code size: 1652980 bytes
Data size: 10382016 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4210 cells (16840 bytes)
Total requirements:12061484 bytes

1 Warning.
source ogf warning is:
pawn Код:
public MySQLUpdatePlayerFlo(query[], sqlplayerid, sqlvalname[], Float:sqlupdateflo)
{
    new query[128];
    format(query, sizeof(query), "UPDATE players SET %s=%f WHERE id=%d", sqlvalname, sqlupdateflo, sqlplayerid);
    samp_mysql_query(query);
    new flotostr[32];
    format(flotostr, sizeof(flotostr), "%f", sqlupdateflo);
    MySQLUpdatePlayerStr(query, sqlplayerid, sqlvalname, flotostr);
    return 1;
}
Reply


Messages In This Thread
Server crash when i connect - by whitedragon - 20.01.2010, 15:38
Re: Server crash when i connect - by Miguel - 20.01.2010, 15:42
Re: Server crash when i connect - by whitedragon - 22.01.2010, 05:27

Forum Jump:


Users browsing this thread: 1 Guest(s)