726 ocmd:oban(playerid,params[])
727 {
728 new string[124],Spielerdatei[64];
729 new name[MAX_PLAYER_NAME];
730 if(sscanf(params,"s",name))return SendClientMessage(playerid,Rot,"/oban [Spielername]");
731 format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
732 if(fexist(Spielerdatei))
733 {
734 new INI:file = INI_Open(Spielerdatei);
735 INI_WriteInt(file,"Banned",1);
736 INI_Close(file);
737 format(string,sizeof(string),"You have banned %s.",name);
738 SendClientMessage(playerid,-1,string);
739 return 1;
740 }
741 else SendClientMessage(playerid,-1,"Der Account wurde nicht gefunden!");
return 1;
(734) : warning 213: tag mismatch
(735) : error 035: argument type mismatch (argument 1)
(736) : warning 202: number of arguments does not match definition
734) : warning 204: symbol is assigned a value that is never used: "file"
1 Error.
}