Das ist mein Code für den Payday .. ich hab das Problem hab 7 Errors
C:\Users\Jonas\Desktop\Selfmade x)\gamemodes\abac.pwn(1477) : error 017: undefined symbol "playerid"
C:\Users\Jonas\Desktop\Selfmade x)\gamemodes\abac.pwn(1478) : error 017: undefined symbol "playerid"
C:\Users\Jonas\Desktop\Selfmade x)\gamemodes\abac.pwn(1479) : error 017: undefined symbol "playerid"
C:\Users\Jonas\Desktop\Selfmade x)\gamemodes\abac.pwn(1480) : error 017: undefined symbol "playerid"
C:\Users\Jonas\Desktop\Selfmade x)\gamemodes\abac.pwn(1481) : error 017: undefined symbol "playerid"
C:\Users\Jonas\Desktop\Selfmade x)\gamemodes\abac.pwn(1482) : error 017: undefined symbol "playerid"
C:\Users\Jonas\Desktop\Selfmade x)\gamemodes\abac.pwn(1483) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
forward minute();
public minute()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i))continue;
if(sSpieler[i][sLogin] == 0)continue;
//Spieler ist eingeloggt (on)
SetPVarInt(i,"Paytime",GetPVarInt(i,"Paytime")+1);
if(GetPVarInt(i,"Paytime")==60)
{
SetPVarInt(i,"Paytime",0);
SendClientMessage(playerid,BLAU,"!-----PAYDAY-----!");
SendClientMessage(playerid,WEIß,"-----------------");
SendClientMessage(playerid,HELLBLAU,"Du erhällst 5000$!");
SendClientMessage(playerid,WEIß,"-----------------");
SendClientMessage(playerid,BLAU,"!-----PAYDAY-----!");
GivePlayerMoney(playerid,5000);
SetPlayerScore(playerid,Level+1);
continue;
}
}
return 1;
}
[/i]