public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/gate", true) == 0);
{
if (PlayerInfo[playerid][pMember == 3] || PlayerInfo[playerid][pLeader] == 3);
{
MoveObject(tor_eins,835.538635, -2046.147461, 13.577855, 3.5);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Tor schließt NICHT automatisch!");
}
return 1;
}
if (strcmp(cmdtext, "/gatezu", true) == 0){
{
if (PlayerInfo[playerid][pMember == 3] || PlayerInfo[playerid][pLeader] == 3);
{
MoveObject(tor_eins, 835.607422, -2046.076904, 13.762159, 3.5);
}
return 1;
}
return 0;
}
Kann mir jemand sagen wsa hier dran falsch ist ?