in diesem Code:
ocmd:tban(playerid,params[]){
if(!isPlayerAnAdmin(playerid,2))return SendClientMessage(playerid,ROT,"Rang zu Niedrig!");
new pID,time,grund[64],wert;
if(sscanf(params,"uis[64]",pID,time,grund))return SendClientMessage(playerid,BLAU,"/tban [playerid][zeit][grund]");
if(!IsPlayerConnected(pID))return SendClientMessage(playerid,ROT,"Spieler ist nicht online!");
if(0 < time < 1000){
BanExWithMessage(playerid,ROT,"Du wurdest von %s für %s gebannt.Grund: %s",Name(playerid),time,grund);
return wert = gettime()+(60*time),SetPVarInt(pID,"timeban",wert),SetTimerEx("WarnTimer2",250,false,"d",pID),SetPVarInt(playerid,"Banned1",GetPVarInt(playerid,"Banned1")+1);
}
return SendClientMessage(playerid,ROT,"Ungültige Zeit!");
}
ist in der "BanExWithMessage" zeile ein Fehler ld. diesem Code :
C:\Users\Patrick\Desktop\GER\gamemodes\IRP-City.pwn(1207) : warning 202: number of arguments does not match definition
C:\Users\Patrick\Desktop\GER\gamemodes\IRP-City.pwn(1207) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.