PHP код:
stock SaveFactionVehicle(Model, Float:x, Float:y, Float:z, Float:a, ColorA, ColorB, Faction)
{
new Query[512];
new Faction;
format(Query, sizeof(Query), "INSERT INTO `dynamicvehicles` (ModelID, posX, posY, posZ, posA, ColorA, ColorB, Faction) VALUES(%d, %f, %f, %f, %f, %i, %i, %i)",
Model, x, y, z, a, ColorA, ColorB, Faction);
mysql_query(Query);
mysql_free_result();
return 1;
}