17.11.2016, 06:49
Quote:
Okay so when you create house are you sure it is saved as it should be in DB?
|
PHP код:
enum farmHouses{
firstHouseId,
Float:firstHouseX,
Float:firstHouseY,
Float:firstHouseZ,
Float:firstHouserX,
Float:firstHouserY,
Float:firstHouserZ,
secondHouseId,
Float:secondHouseX,
Float:secondHouseY,
Float:secondHouseZ,
Float:secondHouserX,
Float:secondHouserY,
Float:secondHouserZ,
Float:firstPlantationX,
Float:firstPlantationY,
Float:firstPlantationZ,
Float:firstPlantationAngle,
Float:secondPlantationX,
Float:secondPlantationY,
Float:secondPlantationZ,
Float:secondPlantationAngle,
Float:thirdPlantationX,
Float:thirdPlantationY,
Float:thirdPlantationZ,
Float:thirdPlantationAngle,
Float:fourthPlantationX,
Float:fourthPlantationY,
Float:fourthPlantationZ,
Float:fourthPlantationAngle
}
new housesFarms[][farmHouses] =
{
{ 19505, 749.67218, -508.03879, 17.33210, 0.00000, 0.00000, 90.00000, 19505, 749.67218, -508.03879, 17.33210, 0.00000, 0.00000, 90.00000, 734.58252, -491.35150, 15.09620, 90.00000, 741.08252, -491.35150, 15.09620, 90.0000019454, 747.58252, -491.35150, 15.09620, 90.00000, 754.08252, -491.35150, 15.09620, 90.00000}
};