Hey, hab nen typ missmatch fehler bei der if(wantedlabel[playerid][i].. zeile,
kann mir wer helfen, sodass ich meine fehler mehr bekomme?
new PlayerText3D:wantedlabel[MAX_PLAYERS][MAX_PLAYERS];
CreateWantedLabel(playerid)
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i) && IsPlayerCop(i) && sInfo[playerid][wanteds] > 2)
{
if(wantedlabel[playerid][i] == -1)
{
new string[256];
format(string,sizeof(string),"hello");
wantedlabel[playerid][i] = CreatePlayer3DTextLabel(i,string,COLOR_KNALLROT,0.0,0.0,1.0,50.0,playerid,INVALID_VEHICLE_ID, 1);
}
}
}
return 1;
}