Hy!
Próbálkozom egy mozgó hajó összerakásával beírom /nyit a hajó elindul de csak az alapja, és a másik 2object nem megy utána, az ott marad mi az oka?
#include <a_samp>
#include <zcmd>
#define COLOR_RED 0xFF0000FF
new Ship1;
new Ship2;
new Ship3;
public OnFilterScriptInit()
{
Ship1 = CreateObject(9585, -484, 521.70001220703, 8.5, 0, 0, 166);
Ship2 = CreateObject(9586, -482.10000610352, 521.09997558594, 18.299999237061, 0, 0, 166);
Ship3 = CreateObject(9584, -412.29998779297, 503.70001220703, 25.700000762939, 0, 0, 346);
return 1;
}
CMD:nyit(playerid, params[])
{
MoveObject(Ship1, -1353.5999755859, 535.70001220703, 7.8000001907349, 1.5, 0.0, 0.0, 0.0);
MoveObject(Ship2, -1351.6999511719, 536.09997558594, 1.5, 0, 0, 180);
MoveObject(Ship3, 1284.0999755859, 535.59997558594, 23.799999237061, 1.5, 0, 0, 0);
return 1;
}
CMD:zar (playerid, params[])
{
MoveObject(Ship1, -484, 521.70001220703, 8.5, 1.5, 0.0, 0.0, 0.0);
MoveObject(Ship2, -482.10000610352, 521.09997558594, 18.299999237061, 1.5, 0, 0, 166);
MoveObject(Ship3, -412.29998779297, 503.70001220703, 25.700000762939, 1.5, 0, 0, 346);
return 1;
}