Hey ich habe ein Payday Script erstellt aber ich bekomme Errors:
public minute()
{
for(new i=0; i<Max_PLAYERS; i++) // error 001: expected token: "-identifier-", but found "="
{
if(!IsPlayerConnected(i))continue; // error 029: invalid expression, assumed zero
GetPVarInt(i,"loggedin")==0)continue; // warning 217: loose indentation error 029: invalid expression, assumed zero,: warning 215: expression has no effect error 001: expected token: ";", but found ")" error 029: invalid expression, assumed zero fatal error 107: too many error messages on one line
SetPVarInt(i,"Paytime",GetPVarInt(i,"Paytime")+1);
if(GetPVarInt(i,"Paytime")==60)
{
SetPVarInt(i,"Paytime",0);
SendClientMessage(i,TÜRKIS,"Zahltag! Du hast dein Grund Lohn bekommen");
GivePlayerMoney(i,800);
}
}
return 1;
}