//tür:
new mdtor1;
new mdtor2;
new mdtor3;
new mdtor4;
new mdtor5;
new mdtor6;
new mdtor7;
new mdtor8;
new mdtor9
//mechanikertüren:
mdtor1 = CreateObject(5422, 1497.14282, -1778.25525, 21.33270, 0.00000, 0.00000, 0.00000);
mdtor2 = CreateObject(5422, 1497.14282, -1774.05042, 21.33270, 0.00000, 0.00000, 0.00000);
mdtor3= CreateObject(5422, 1497.14282, -1769.84436, 21.33270, 0.00000, 0.00000, 0.00000);
mdtor4 = CreateObject(5422, 1497.14282, -1765.63916, 21.33270, 0.00000, 0.00000, 0.00000);
mdtor5 = CreateObject(5422, 1497.14282, -1761.43286, 21.33270, 0.00000, 0.00000, 0.00000);
mdtor6 = CreateObject(5422, 1497.14282, -1757.22693, 21.33270, 0.00000, 0.00000, 0.00000);
mdtor7 = CreateObject(5422, 1497.14282, -1748.81909, 21.33270, 0.00000, 0.00000, 0.00000);
mdtor8 = CreateObject(5422, 1497.14282, -1753.02515, 21.33270, 0.00000, 0.00000, 0.00000);
mdtor9 = CreateObject(5422, 1497.14282, -1744.61206, 21.33270, 0.00000, 0.00000, 0.00000);
Hier nun die Befehle:
odmc:mechaniktor(playerid,params[])
{
MoveObject(mdtor1,1497.14282, -1778.25525, 13.70000,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor1 geöffnent!");
return 1;
}
odmc: md1zu(playerid,params[])
{
MoveObject(mdtor1, 1497.14282, -1778.25525, 21.3327,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor1 geschlossen");
return 1;
}
odmc: md2auf(playerid,params[])
{
MoveObject(mdtor2,1497.14282, -1778.25525, 13.70000,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor2 geöffnent!");
return 1;
}
odmc: md2zu(playerid,params[])
{
MoveObject(mdtor2,1497.14282, -1778.25525, 21.3327,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor2 geschlossen!");
return 1;
}
odmc: md3auf(playerid,params[])
{
MoveObject(mdtor3,1497.14282, -1769.84436, 13.70000,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor3 geöffnent!");
return 1;
}
odmc: md3ztu(playerid,params[])
{
MoveObject(mdtor3,1497.14282, -1778.25525, 21.3327,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor3 geschlossen!");
return 1;
}
odmc: md4auf(playerid,params[])
{
MoveObject(mdtor4,1497.14282, -1765.63916, 13.70000,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor4 geöffnent!");
return 1;
}
odmc: md4zu(playerid,params[])
{
MoveObject(mdtor4,1497.14282, -1778.25525, 21.3327,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor4 geschlossen!");
return 1;
}
odmc: md5auf(playerid,params[])
{
MoveObject(mdtor5,1497.14282, -1761.43286, 13.70000,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor5 geöffnent!");
return 1;
}
odmc: md5zu(playerid,params[])
{
MoveObject(mdtor5,1497.14282, -1778.25525, 21.3327,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor5 geschlossen!");
return 1;
}
odmc: md6auf(playerid,params[])
{
MoveObject(mdtor6,1497.14282, -1778.25525, 13.70000,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor6 geöffnent!");
return 1;
}
odmc: md6zu(playerid,params[])
{
MoveObject(mdtor6,1497.14282, -1778.25525, 21.3327,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor6 geschlossen!");
return 1;
}
odmc: md7auf(playerid,params[])
{
MoveObject(mdtor7,1497.14282, -1757.22693, 13.70000,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor7 geöffnent!");
return 1;
}
odmc: md7zu(playerid,params[])
{
MoveObject(mdtor7,1497.14282, -1778.25525, 121.3327,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor7 geschlossen!");
return 1;
}
odmc: md8auf(playerid,params[])
{
MoveObject(mdtor8,1497.14282, -1753.02515, 13.70000,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor8 geöffnent!");
return 1;
}
odmc: md8zu(playerid,params[])
{
MoveObject(mdtor8,1497.14282, -1778.25525, 21.3327,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor8 geschlossen!");
return 1;
}
odmc: md9auf(playerid,params[])
{
MoveObject(mdtor9,1497.14282, -1748.81909, 13.70000,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor9 geöffnent!");
return 1;
}
odmc: md9zu(playerid,params[])
{
MoveObject(mdtor9, 1497.14282, -1778.2552, 21.3327,5,0.00000, 0.00000, 0.00000);
SendClientMessage(playerid,grün,"Du hast das Tor9 geschlossen!");
return 1;
}