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 definitionSlika/video ingame problema(obavezno ako je ingame problem): //
