05.04.2010, 18:59
So yea, I've got these CreateObject's from the Map Editor from it's topic, but I got problems with it.
1. All the objects are misplaced and
2. It crashes the client
This is the code
Note: I used this code with he YSI object streamer...
I saw that if I switch the Y with X and add 90.0 on the Z value, the object is placed correct.
If anyone knows why this happens, please respond
...
1. All the objects are misplaced and
2. It crashes the client
This is the code
Код:
CreateObject(8357, 643.39, 857.58, 15.68, 0.00, -48.00, 0.00); CreateObject(8357, 626.79, 903.38, 1.37, 0.00, -33.00, 0.00); CreateObject(8357, 616.86, 934.69, 15.68, 0.00, -48.00, 34.00); CreateObject(8357, 621.68, 815.78, 15.68, 0.00, -48.00, -20.00); CreateObject(8357, 609.01, 825.77, 1.37, 0.00, -33.00, -20.00); CreateObject(8357, 639.17, 869.61, 1.37, 0.00, -33.00, 34.00); CreateObject(8357, 637.61, 903.57, 1.37, 0.00, -33.00, 90.00); CreateObject(8357, 646.15, 919.34, 15.68, 0.00, -48.00, 90.00); CreateObject(8357, 613.22, 918.71, 1.37, 0.00, -33.00, 130.00); CreateObject(8357, 602.26, 931.18, 15.68, 0.00, -48.00, 130.00); CreateObject(8357, 571.72, 871.76, 1.37, 0.00, -33.00, 150.00); CreateObject(8357, 578.83, 845.93, 1.37, 0.00, -33.00, 180.00); CreateObject(8357, 635.98, 866.53, 1.37, 0.00, -33.00, -60.00); CreateObject(8357, 615.35, 840.34, 1.37, 0.00, -33.00, -120.00); CreateObject(8357, 586.09, 819.97, 15.68, 0.00, -48.00, -60.00); CreateObject(8357, 610.71, 819.04, 15.68, 0.00, -48.00, -120.00); CreateObject(8357, 582.67, 923.15, 15.68, 0.00, -48.00, 150.00); CreateObject(8357, 560.98, 906.45, 15.68, 0.00, -48.00, 180.00); CreateObject(8357, 546.08, 906.51, 38.03, 0.00, -68.00, 180.00); CreateObject(8357, 638.28, 832.63, 38.03, 0.00, -68.00, -60.00); CreateObject(8357, 599.24, 806.87, 38.03, 0.00, -68.00, -120.00); CreateObject(8357, 646.92, 841.21, 38.03, 0.00, -68.00, -20.00); CreateObject(8357, 658.45, 857.19, 38.03, 0.00, -68.00, 0.00); CreateObject(8357, 663.21, 892.51, 38.03, 0.00, -68.00, 34.00); CreateObject(8357, 632.44, 934.50, 38.03, 0.00, -68.00, 90.00); CreateObject(8357, 601.51, 950.03, 38.03, 0.00, -68.00, 130.00); CreateObject(8357, 584.56, 957.40, 38.03, 0.00, -68.00, 150.00); CreateObject(8357, 337.67, 972.18, 36.12, 41.00, 0.00, 247.00);
I saw that if I switch the Y with X and add 90.0 on the Z value, the object is placed correct.
If anyone knows why this happens, please respond
