25.10.2015, 14:50
SOLVED!
mysql_format(MySQL, Query, sizeof(Query), "UPDATE `igraci_main` SET level = '%d', novac = '%d', skin = '%d', lider = '%d', clan = '%d', rank = '%d', droga = '%d', materijali = '%d' WHERE ime = '%s'",lvl, pare, skin, lider, clan, rank, droga, materijali, PlayerName(id));
mysql_query(MySQL,Query);
mysql_format(MySQL, Query, sizeof(Query), "UPDATE `igraci_main` SET spawn = '%d', posao = '%d', ajail = '%d', pjail = '%d', ticketi = '%d', vozacka = '%d', kanap = '%d', gps = '%d', askq = '%d' WHERE ime = '%s'", spawn, posao, ajail, pjail, ticket, vozacka, kanap, gps, askq, PlayerName(id));
mysql_query(MySQL,Query);
Lol dude, u dont need that big string...
For all Queryes use 1 string with length 2048 and that code split with 5-6 queryes, not all in one, here is example from my script: PHP код:
PHP код:
|