Guten Tag,
habe folgende Errors:
C:\Users\Marius\Desktop\neueversion0.3\gamemodes\LoH2.pwn(16587) : error 017: undefined symbol "Time"
C:\Users\Marius\Desktop\neueversion0.3\gamemodes\LoH2.pwn(16589) : error 017: undefined symbol "Time"
C:\Users\Marius\Desktop\neueversion0.3\gamemodes\LoH2.pwn(16841) : error 017: undefined symbol "StripNewLine"
C:\Users\Marius\Desktop\neueversion0.3\gamemodes\LoH2.pwn(59227) : error 017: undefined symbol "Time"
C:\Users\Marius\Desktop\neueversion0.3\gamemodes\LoH2.pwn(60101) : error 017: undefined symbol "StripNewLine"
C:\Users\Marius\Desktop\neueversion0.3\gamemodes\LoH2.pwn(61389) : error 017: undefined symbol "StripNewLine"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
if(dini_Int(tbDir,"fbTime")+dini_Int(tbDir,"fbDuration") > Time())
{
new sekki=(dini_Int(tbDir,"fbTime")+dini_Int(tbDir,"fbDuration"))-Time(),minni=sekki/60;
sekki=sekki-minni*60;
format(ALLSTRING,sizeof(ALLSTRING),"Du wurdest für eine Weile vom Server gebannt. Restliche Zeit: %d Minuten %d Sekunden",minni,sekki);
SendClientMessage(playerid,COLOR_LIGHTRED,ALLSTRING);
format(ALLSTRING,sizeof(ALLSTRING),"%s hat versucht mit einem Timeban sich einzuloggen.", pName);
ABroadCast(COLOR_YELLOW,ALLSTRING,1);
Kick(playerid);
} else { dini_Remove(tbDir); }
}
stock LoadWars(){
new Filetext[64];
for(new Faction=1;Faction<MAX_FACTIONS;Faction++){
format(Filetext,sizeof(Filetext),WAR_FILE,GetFactionNameOfFaction(Faction));
if(fexist(Filetext)){
new File:wFile=fopen(Filetext,io_read),Content[64],War;
while(fread(wFile,Content) && War < MAX_WARS){
StripNewLine(Content);
WarInfo[Faction][War] = strval(Content);
if(WarInfo[Faction][War])
War++;
}fclose(wFile);
}
}return true;
}
{
new pName[MAX_PLAYER_NAME];
GetPlayerName(pID,pName,sizeof(pName));
format(tbDir,sizeof(tbDir),foxBanFile,pName);
dini_Create(tbDir);
dini_IntSet(tbDir,"fbTime",Time());
dini_IntSet(tbDir,"fbDuration",bTime*60);
Kick(pID);
}
StripNewLine(Content);
StripNewLine(Content);
Hoffe jemand kann mir helfen:)
Grüße