10.12.2012, 18:10
Hi guys!
I've got some MySQL issiues and I need some help.
I want it to create a new row to MySQL, when I type the command "sultan".
It just does nothing.
The code:
I've got some MySQL issiues and I need some help.
I want it to create a new row to MySQL, when I type the command "sultan".
It just does nothing.
The code:
pawn Код:
CMD:sultan(playerid, params[])
{
new string[128];
format(string, 128, "INSERT INTO autod (autoid, myygis, omanik, v2rv1, v2rv2, pargitudX, pargitudY, pargitudZ, parkimisangle, model, poesmyygis) VALUES(1, 0, %s, 1, 1, -785.3877, 2753.9294, 45.2800, 235.9695, 411, 0)", playerid);
mysql_query(string);
mysql_store_result();
mysql_free_result();
return 1;
}