Hallo User,
ich habe ein PayDay Sys gemacht leider findet er nicht wen player Eingeloogt ist oder so was
public Minute ()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i))continue;
if(PlayerInfo(i,"Eingeloggt")== 0)continue;
//Spieler ist Online und Eingeloggt
PlayerInfo(i,"PayTime",PlayerInfo(i,"PayTime")+1);
if(PlayerInfo(i,"PayTime")==60)
{
//Nach 60Minuten
SetPlayerInfo(i,"PayTime",0);
GameTextForPlayer(i,"\n\n\n\nPayDay", 3000, 1);
SetPlayInfo(i,"ErfahrungsP",+1)
continue;
}
}
return 1;
}
Die Fehler
(700) : error 012: invalid function call, not a valid address
(700) : warning 215: expression has no effect
(700) : warning 215: expression has no effect
(700) : error 001: expected token: ";", but found ")"
(700) : error 029: invalid expression, assumed zero
(700) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.