Hier mit Dini Speicherung etc
if(strcmp(cmd, "/kick", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 1) return DenyMessage(playerid, 1);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD2, "Benutze: /kick [SpielerID] [Grund]");
giveplayerid = ReturnUser(tmp);
if(giveplayerid == playerid) return SendClientMessage(playerid, COLOR_BRIGHTRED, "Du kannst dich nicht selber Kicken!");
if(PlayerInfo[playerid][pAdmin] < PlayerInfo[giveplayerid][pAdmin]) return SendClientMessage(playerid, COLOR_BRIGHTRED, "Du kannst keinen Höherrangigen Admin kicken !");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_WHITE, "Kein Spieler mit angegebender ID Online!");
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result)) return SendClientMessage(playerid, COLOR_WHITE, "Benutze: /kick [SpielerID] [Grund]");
new year, month,day;
getdate(year, month, day);
format(string, sizeof(string), "%s wurde von %s gekickt Grund: [%s]", giveplayer, sendername, (result));
SendClientMessageToAll(COLOR_BRIGHTRED, string);
Kick(giveplayerid);
format(string, sizeof(string), "%s wurde gekickt von %s. Grund:(%s) (%d-%d-%d)", giveplayer, sendername, (result),month,day,year);
KickLog(string);
ServerInfo[TotKicks] ++;
dini_IntSet(SFile, "Kicks", ServerInfo[TotKicks]);
return 1;
}