25.11.2015, 10:46
I just wondered if this is possible;
Such as:
MySQL VarChar field containing the following:
How could I read all of that from the database and set it to actually create the object?
Such as a dynamic mapping system.
Such as:
MySQL VarChar field containing the following:
pawn Код:
CreateDynamicObject(2942, 1759.97668, -1942.20728, 13.18650, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(2942, 1759.97668, -1935.96118, 13.18650, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(2942, 1466.32043, -1749.90454, 15.05910, 0.00000, 0.00000, -180.00000);
CreateDynamicObject(2942, 1155.24084, -1463.88330, 15.39540, 0.00000, 0.00000, -72.00000);
CreateDynamicObject(2942, 1102.31714, -1448.87878, 15.39540, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(2942, 2241.50952, -1722.67078, 13.16350, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(2942, 2260.87646, -1722.67749, 13.16350, 0.00000, 0.00000, 0.00000);
Such as a dynamic mapping system.