Mysql format

Započeo B185
•27. Mar. 2018.• Zaključano
677
pregleda
3
postova
[xWeiss] Boky
4
Enforcer
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
27. Mar. 2018.
Problem(error/warning): formatiranje mysql i cuvanje
Dio skripte:
 	mysql_format( sqlBase, query, sizeof( query ), "UPDATE `users` SET `novac` = %d, `level` = %d, `admin_level` = %d, `gamemaster_level` = %d, `drzava` = %d, `godine` = %d, `pol` = %d, `skin` = %d",
  SetPlayerMoney( playerid ), GetPVarInt( playerid, "level" ), GetPVarInt( playerid, "admin_level" ), GetPVarInt( playerid, "gamemaster_level" ), GetPVarInt( playerid, "drzava" ), GetPVarInt( playerid, "godine" ), GetPVarInt( playerid, "pol" ), GetPVarInt( playerid, "skin" ) );
mysql_format( sqlBase, query, sizeof( query ), "%s`posx` = %d, `posy` = %d, `posz` = %d, `posa` = %d, `interior` = %d, `vw` = %d, `novacbanka` = %d, `exp` = %d, `ubistva` = %d, `smrti` = %d, `glad` = %d, `zlato` = %d WHERE `name` = '%s'",
floatround( posx ), floatround( posy ), floatround( posz ), floatround( posa ), inter, vw, GetPVarInt( playerid, "novacbanka" ), GetPVarInt( playerid, "exp" ), GetPVarInt( playerid, "ubistva" ), GetPVarInt( playerid, "smrti" ), GetPVarInt( playerid, "glad" ), GetPVarInt( playerid, "zlato" ), GetName( playerid ) );
mysql_tquery( sqlBase, query, " ", " " );

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
warning 202: number of arguments does not match definition

Slika/video ingame problema(obavezno ako je ingame problem): //
Rax_King
6
Godfather
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
27. Mar. 2018.
SetPlayerMoney( playerid )
ophion
5
OG Legend
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
28. Mar. 2018.
lock, xunder ti je rekao sta je problem

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha