Need help with MYSQL not saving gun cords..
#6

Firstly dont abuse MySQL, I mean its not kid toy...

in way how you format query you can easly brake down your DB, because I bet you everywhere use this style of format, try to use this:
pawn Код:
format(query, sizeof query, "INSERT INTO `pickup_weapons` (`pickupid`, `weapid`, `ammo`, `x`, `y`, `z`) VALUES ('%d', '%d', '%d', '%0.3f', '%0.3f', '%0.3f')",
Also I hope you use mysql_real_escape_string(); everywhere where you save strings, also you make a loop where you insert into DB, so what if someon decides to spam your drop cmd, it will hangup your DB
Reply


Messages In This Thread
Need help with MYSQL not saving gun cords.. - by Snyper1 - 14.10.2010, 23:32
Re: Need help with MYSQL not saving gun cords.. - by Austin - 15.10.2010, 00:55
Re: Need help with MYSQL not saving gun cords.. - by Cameltoe - 15.10.2010, 01:17
Re: Need help with MYSQL not saving gun cords.. - by [HiC]TheKiller - 15.10.2010, 03:53
Re: Need help with MYSQL not saving gun cords.. - by Ben7544 - 13.04.2011, 08:56
Re: Need help with MYSQL not saving gun cords.. - by Voldemort - 13.04.2011, 09:37

Forum Jump:


Users browsing this thread: 2 Guest(s)