X lo q yo entiendo ahi faltan definir los newґs :/
bueno aver proba asi saca todo eso y pone esto:
pawn Код:
// Comando de /Ban
if (strcmp(cmd, "/ban", true) == 0)
{
if (InfoNick[playerid][Admin] >=2 || IsPlayerAdmin(playerid)) //Si Tienes Tu Propio Sistema Cambia "InfoNick[playerid][Admin] >=2
{
new tmpp = strtok(cmdtext, idx);
if (!strlen(tmpp))
{
SendClientMessage(playerid, COLOR_VERDE, "USA: /Ban [Id] [Razуn]");
return 1;
}
new pid = strval(tmpp);
if (!(IsPlayerConnected(pid)))
{
SendClientMessage(playerid, COLOR_ROJO, "Jugador no conectado !");
return 1;
}
new pidName[20];
GetPlayerName(pid, pidName, 20);
GetPlayerName(playerid, AdminName, sizeof(AdminName));
GetPlayerIp(playerid,AdminIP,20);
GetPlayerIp(pid, PidIP, 20);
gettime(hora, minuto, segundo);
getdate(anio, mes, dia);
format(string, sizeof(string), "%s (ID: %d) fue baneado !. Razуn: %s | Hora: %d:%d:%d | Dia: %d.%d.%d", pidName, pid, cmdtext[idx], hora, minuto, segundo, dia, mes, anio);
SendClientMessageToAll(COLOR_ROJO, string);
print(string);
Ban(pid);
}
else
{
SendClientMessage(playerid,COLOR_ROJO,"No eres Admin !");
return 1;
}
return 1;
}
Supongo q asi ya deberia funcionar, ojo yo tampoco se mucho

bueno espero te ande suerte