hier meine Wantedliste, 3 Errors:
ocmd:wanteds(playerid,params[])
{
if(SpielerInfo[playerid][pFraktion] != 6)return SendClientMessage(playerid,FARBE_ROT,"Du bist kein Polizist !");
for(new i=0; i<GetMaxPlayers(); i++)
{
if(GetPlayerWantedLevel(i > 0))
{
new Wanteds;
format(Wanteds,sizeof(Wanteds),"%s: %i Wanteds",SpielerName(i), GetPlayerWantedLevel(i)); // Zeile 400
SendClientMessage(playerid,FARBE_GELB, Wanteds); // Zeile 401
}
}
return 1;
}
ZitatC:\Users\Marcell\Desktop\0.3d\gamemodes\IRP.pwn(400) : error 035: argument type mismatch (argument 1)
C:\Users\Marcell\Desktop\0.3d\gamemodes\IRP.pwn(400) : error 035: argument type mismatch (argument 1)
C:\Users\Marcell\Desktop\0.3d\gamemodes\IRP.pwn(401) : error 035: argument type mismatch (argument 3)
C:\Users\Marcell\Desktop\0.3d\gamemodes\IRP.pwn(399) : warning 203: symbol is never used: "Wanteds"