Hi,
habe ein fehler, wenn ich compile kommen keine errors oder warnings.
aber ingame naja. Passiert ÜBERhaupt nichts mit den Toren:
if (strcmp("/ftor1", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor1, 1757.32, -1128.06, 26.35,2,0.00, 90.00, 90.00);//aufrtw
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
if (strcmp("/ftor1z", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor1, 1757.32, -1130.05, 24.46,2,0.00, 0.00, 90.00);//zurtw
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
//kdow1
if (strcmp("/Tor2auf", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor2, 1747.77, -1127.98, 26.35,2,0.00, 90.00, 90.00);//aufkdow1
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
if (strcmp("/Tor2zu", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor2, 1747.75, -1130.08, 24.46,2,0.00, 0.00, 90.00);//zukdow1
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
//kdow2
if (strcmp("/Tor3auf", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor3, 1740.63, -1128.10, 26.35,2,0.00, 90.00, 90.00);//aufkdow2
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
if (strcmp("/Tor3zu", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor3, 1740.61, -1130.07, 24.46,2,0.00, 0.00, 90.00);//zukdow2
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
//ab hier bitte die zuordnung nicht ändern habe in der reihenfolge die tore gesavet gehabt
//htlf1
if (strcmp("/Tor4auf", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor7, 1725.36, -1127.93, 26.35,2,0.00, 90.00, 90.00);//htlf1auf
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
if (strcmp("/Tor4zu", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor7, 1725.36, -1130.08, 24.46,2,0.00, 0.00, 90.00);//zuhtlf1
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
//htlf2
if (strcmp("/Tor5auf", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor6, 1719.54, -1127.95, 26.35,2,0.00, 90.00, 90.00);//htlf2auf
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
if (strcmp("/Tor5zu", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor6, 1719.56, -1130.07, 24.46,2,0.00, 0.00, 90.00);//zuhtlf2
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
//htlf3
if (strcmp("/Tor6auf", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor5, 1713.72, -1128.09, 26.35,2,0.00, 90.00, 90.00);//htlf3auf
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
if (strcmp("/Tor6zu", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor5, 1713.73, -1130.06, 24.46,2, 0.00, 0.00, 90.00);//zuhtlf3
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
//drehleiter
if (strcmp("/Tor7auf", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor4, 1707.87, -1127.96, 26.35,2,0.00, 90.00, 90.00);//dlauf
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
if (strcmp("/Tor7zu", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor4, 1707.89, -1130.06, 24.46,2,0.00, 0.00, 90.00);//dlauf
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
//hinten
if (strcmp("/Tor8auf", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor8, 1708.09, -1103.41, 26.39,2, 0.00, 90.00, 270.00);//hintenauf
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
if (strcmp("/Tor8zu", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor8, 1708.10, -1101.30, 24.46,2,0.00, 0.00, 270.00);//hintenzu
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
//allesauf
if (strcmp("/ffwachezu", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor4, 1707.89, -1130.06, 24.46,2,0.00, 0.00, 90.00);//dlauf
MoveDynamicObject(lsfdtor5, 1713.73, -1130.06, 24.46,2, 0.00, 0.00, 90.00);//zuhtlf3
MoveDynamicObject(lsfdtor6, 1719.56, -1130.07, 24.46,2,0.00, 0.00, 90.00);//zuhtlf2
MoveDynamicObject(lsfdtor7, 1725.36, -1130.08, 24.46,2,0.00, 0.00, 90.00);//zuhtlf1
MoveDynamicObject(lsfdtor3, 1740.61, -1130.07, 24.46,2,0.00, 0.00, 90.00);//zukdow2
MoveDynamicObject(lsfdtor2, 1747.75, -1130.08, 24.46,2,0.00, 0.00, 90.00);//zukdow1
MoveDynamicObject(lsfdtor1, 1757.32, -1130.05, 24.46,2,0.00, 0.00, 90.00);//zurtw
MoveDynamicObject(lsfdtor8, 1708.10, -1101.30, 24.46,2,0.00, 0.00, 270.00);//hintenzu
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
//alleszu
if (strcmp("/ffwacheauf", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtor4, 1707.87, -1127.96, 26.35,2,0.00, 90.00, 90.00);//dlauf
MoveDynamicObject(lsfdtor5, 1713.72, -1128.09, 26.35,2,0.00, 90.00, 90.00);//htlf3auf
MoveDynamicObject(lsfdtor6, 1719.54, -1127.95, 26.35,2,0.00, 90.00, 90.00);//htlf2auf
MoveDynamicObject(lsfdtor7, 1725.36, -1127.93, 26.35,2,0.00, 90.00, 90.00);//htlf1auf
MoveDynamicObject(lsfdtor3, 1740.63, -1128.10, 26.35,2,0.00, 90.00, 90.00);//aufkdow2
MoveDynamicObject(lsfdtor2, 1747.77, -1127.98, 26.35,2,0.00, 90.00, 90.00);//aufkdow1
MoveDynamicObject(lsfdtor1, 1757.32, -1128.06, 26.35,2,0.00, 90.00, 90.00);//aufrtw
MoveDynamicObject(lsfdtor8, 1708.09, -1103.41, 26.39,2,0.00, 90.00, 270.00);//hintenauf
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
//türvorne
if (strcmp("/tvauf", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtuer1, 1731.61, -1130.11, 23.04,0.5,0.00, 0.00, 90.00);
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
if (strcmp("/tvzu", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtuer1, 1731.61, -1130.11, 23.04,0.5,0.00, 0.00, 0.00);
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
//türhinten
if (strcmp("/thauf", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtuer2, 1735.13, -1101.33, 23.04,0.5, 0.00, 0.00, 280.00);
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
if (strcmp("/thzu", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
MoveDynamicObject(lsfdtuer2, 1735.13, -1101.33, 23.04,0.5,0.00, 0.00, 180.00);
}
else
{
SendClientMessage(playerid, 0xFF002DFF, " Du bist kein Feuerwehrmann!");
}
return 1;
}
}
Bitte um Hilfe.