Guten Abend Breadfishler,
ich habe da mal eine frage ich habe mal versucht ohne tutorial einen Clearchat befehl zu machen der an sich ja denke ich mal nicht so ,,Schwer" ist ich habe nun dies eingetragen:
if (strcmp("/clearchat", cmdtext,true, 10) == 0)
{
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(HELLBLAU," ");
SendClientMessageToAll(ROT,"Der Spieler %d hat den Chat gecleart");
return 1;
}
Ich will das dort halt steht Der Spieler [Der den befehl ausübt] hat den Chat gecleart
Vielen dank im Vorraus