hi all
Nekem olyan kéne hogy mozgó object csak ne parancsra mozogjon hanem magától kéne hogy mozogjon elõre és hátra
adatok:
fb = CreateObject(1558, 289.275390625, -4.9091796875, 1001.7518310547, 0, 0, 0);
fb2 = CreateObject(1558, 290.685546875, -4.8203125, 1001.864440918, 0, 0, 0);
fb3=CreateObject(1558, 291.865234375, -4.9306640625, 1001.7929077148, 0, 0, 0);
fb4=CreateObject(1558, 295.2666015625, -4.8076171875, 1001.9118652344, 0, 0, 0);
fb5=CreateObject(1558, 297.0576171875, -4.8984375, 1001.8267211914, 0, 0, 0);
fb6=CreateObject(1558, 299.123046875, -4.759765625, 1001.9560546875, 0, 0, 0);
fb7=CreateObject(1558, 293.580078125, -4.728515625, 1001.9855957031, 0, 0, 0);
ez elõre hoz
if (strcmp(\"/mehet\", cmdtext, true, 10) == 0)
{
MoveObject(fb,289.103515625, -22.1181640625, 1002.0969238281,3);
MoveObject(fb2,290.4150390625, -22.2099609375, 1002.0969238281,3);
MoveObject(fb3,291.8837890625, -22.39453125, 1002.0895996094,3);
MoveObject(fb4,294.849609375, -23.171875, 1002.0969238281,3);
MoveObject(fb5,296.82421875, -23.1083984375, 1002.3469238281,3);
MoveObject(fb6,299.5068359375, -23.3671875, 1002.3469238281,3);
MoveObject(fb7,293.6474609375, -22.767578125, 1002.0969238281,3);
return 1;
}
ez hátra visz
if (strcmp(\"/vissza\", cmdtext, true, 10) == 0)
{
MoveObject(fb,289.275390625, -4.9091796875, 1001.7518310547,3);
MoveObject(fb2,290.685546875, -4.8203125, 1001.864440918,3);
MoveObject(fb3,291.865234375, -4.9306640625, 1001.7929077148,3);
MoveObject(fb4,295.2666015625, -4.8076171875, 1001.9118652344,3);
MoveObject(fb5,297.0576171875, -4.8984375, 1001.8267211914,3);
MoveObject(fb6,299.123046875, -4.759765625, 1001.9560546875,3);
MoveObject(fb7,293.580078125, -4.728515625, 1001.9855957031,3);
return 1;
}
ChuckNorris: [ code][ /code] tagek használata kötelezõ!