komplett muss es so sein
if(strcmp("/del", cmdtext, true, 10) == 0)
{
if(IsPlayerAdmin(playerid))
{
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, "Cleared!");
}
return 1;
}
if (strcmp("/torauf", cmdtext, true, 10) == 0) //339
{ //340
MoveObject(971, 1016.828918, -921.834167, 33.521324); //341
SetTimer("TorX",500,1); //342
SendClientMessage(playerid,0x33CC00FF,"Nach 5 Sekunden ist dein Tor zu!"); //343
return 1; //345
}