12.06.2015, 18:57
(
Последний раз редактировалось malackovgfx; 12.06.2015 в 20:47.
)
FIXED
saveCarToDB(playerid,carid)
{
new query[128];
format(query, sizeof(query), "INSERT INTO cars (owner,model,x,y,c,r) VALUES ('%i','%i','%f','%f','%f','%f')",iInfo[playerid][id],cInfo[carid][model],iInfo[carid][c_x],iInfo[carid][c_y],iInfo[carid][c_z],iInfo[carid][c_r]);
mysql_function_query(dbhandel,query,false,"","");
return 1;
}
saveCarToDB(playerid,carid)
{
new query[128];
format(query, sizeof(query), "INSERT INTO cars (owner,model,x,y,c,r) VALUES ('%i','%i','%f','%f','%f','%f')",iInfo[playerid][id],cInfo[carid][model],cInfo[carid][c_x],cInfo[carid][c_y],cInfo[carid][c_z],cInfo[carid][c_r]);
mysql_function_query(dbhandel,query,false,"","");
return 1;
}