C:\Users\Heiko\Desktop\Script\gamemodes\grandlarc.pwn(95) : warning 213: tag mismatch
C:\Users\Heiko\Desktop\Script\gamemodes\grandlarc.pwn(104) : warning 204: symbol is assigned a value that is never used: "randSpawn"
C:\Users\Heiko\Desktop\Script\gamemodes\grandlarc.pwn(512) : error 010: invalid function or declaration
C:\Users\Heiko\Desktop\Script\gamemodes\grandlarc.pwn(513) : warning 235: public function lacks forward declaration (symbol "desktoptimer")
C:\Users\Heiko\Desktop\Script\gamemodes\grandlarc.pwn(527) : error 017: undefined symbol "str"
C:\Users\Heiko\Desktop\Script\gamemodes\grandlarc.pwn(529) : error 029: invalid expression, assumed zero
C:\Users\Heiko\Desktop\Script\gamemodes\grandlarc.pwn(531) : error 017: undefined symbol "i"
C:\Users\Heiko\Desktop\Script\gamemodes\grandlarc.pwn(533) : error 017: undefined symbol "playerid"
C:\Users\Heiko\Desktop\Script\gamemodes\grandlarc.pwn(534) : error 017: undefined symbol "i"
C:\Users\Heiko\Desktop\Script\gamemodes\grandlarc.pwn(556) : warning 203: symbol is never used: "lastanimid"
C:\Users\Heiko\Desktop\Script\gamemodes\grandlarc.pwn(556) : warning 203: symbol is never used: "thisanimid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
forwrd desktoptimer();
public desktoptimer()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerOnDesktop(i))
{
new str[32];
format(str, 32, "%s Sekunden AFK", GetPlayerDesktopTime(i));
if(GetPVarInt(i, "TextSend") == 0)
{
SetPVarInt(i, "TextSend", 1);
PlayerText[i] = Create3DTextLabel(str, COLOR_LIGHTRED, 0.0, 0.0, 0.0, 20.0, -1, -1);}
Attach3DTextLabelToPlayer(PlayerText[i], i, 0.0, 0.0, 0.0);
}
Update3DTextLabelText(PlayerText[i], 0x0069FFFF, str);
}
else
{
if(GetPVarInt(i, "TextSend") == 1)
{
Delete3DTextLabel(PlayerText[playerid]);
SetPVarInt(i, "TextSend", 0);
}
}
return 1;
}
Kriege hier errors wegen i warum? und str