rendered paste body(globale)
if (strcmp(cmdtext, "/clearall", true)==0) {
if(IsPlayerAdmin(playerid))
{
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
SendClientMessageToAll(COLOR_GREY, " ");
return 1;
}
}
//clear chat window :D
if(strcmp(cmdtext,"/clearchat",true)==0) // Chat window is gone, fomg!
{
for (new a=1;a<=10;a++)
{
SendClientMessage(playerid,COLOR_GREY,"\n");
}
return 1;
}