Hallo,
Also ich habe Wieder mal ein Problem mit meinen Toren -.-
Sie Gehen Auf nur Irgend wie Komisch hier die
Screens
Und Hier der befehl
//TriadenTor
if(strcmp(cmd,"/trtor",true) == 0)
{
if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
{
if(triadentorvar == 0)
{
MoveDynamicObject(triadentor2, 2777.3999023438, 927.20001220703, 11.300000190735,5.0);
MoveDynamicObject(triadentor, 2777.1999511719, 899.40002441406, 11.300000190735,5.0);
SendClientMessage(playerid, COLOR_GREEN, "Tor geöffnet");
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
triadentorvar = 1;
}
else
{
MoveDynamicObject(triadentor2, 2777.3999023438, 917.20001220703, 11.300000190735,5.0);
MoveDynamicObject(triadentor, 2777.1999511719, 909.40002441406, 11.300000190735,5.0);
SendClientMessage(playerid, COLOR_RED, "Tor geschlossen");
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
triadentorvar = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein Mitglied der Triaden");
return 1;
}