Hey Com,
Wieso sind hier 2 Errors?
if(PlayerInfo[killerid][pLeader] == 5 || PlayerInfo[killerid][pMember] == 5)
{
new varc[28], var;
var = PlayerInfo[playerid][pLeader];
switch(var)
{
case 5:{format(varc,sizeof(varc),"/Wars/lcn.ini");}
case 6:{format(varc,sizeof(varc),"/Wars/yakuza.ini");}
case 12:{format(varc,sizeof(varc),"/Wars/triaden.ini");}
case 13:{format(varc,sizeof(varc),"/Wars/grove.ini");}
case 14:{format(varc,sizeof(varc),"/Wars/ballas.ini");}
case 16:{format(varc,sizeof(varc),"/Wars/vagos.ini");}
case 17:{format(varc,sizeof(varc),"/Wars/aztekas.ini");}
case 18:{format(varc,sizeof(varc),"/Wars/rifa.ini");}
case 19:{format(varc,sizeof(varc),"/Wars/soldier.ini");}
case 23:{format(varc,sizeof(varc),"/Wars/rumafia.ini");}
}
if(dini_Int(varc,"InKampf") == 1)
{
new Punkte = dini_Int(varc,"Punkte")
new endpunkte = Punkte + 1; // Error
dini_IntSet(var,"Punkte",endpunkte); //error
}
}
Zitat
C:\Users\Christian\Desktop\Pixel Roleplay\gamemodes\pixelrp.pwn(7073) : error 035: argument type mismatch (argument 1)
C:\Users\Christian\Desktop\Pixel Roleplay\gamemodes\pixelrp.pwn(7072) : warning 204: symbol is assigned a value that is never used: "endpunkte"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.