Hallo leute,
ich hab nen wanted bug.
Unzwar bekommen spieler bei /su garnicht immer ihre wanteds....
Ich weiß nicht woran es liegt...
vllt hierran
if(WantedPoints[playerid] == 1) { if(WantedLevel[playerid] != 1) { WantedLevel[playerid] = 1; } }
else if(WantedPoints[playerid] >= 2 && WantedPoints[playerid] <= 2) { if(WantedLevel[playerid] != 2) { WantedLevel[playerid] = 2; } }
else if(WantedPoints[playerid] >= 3 && WantedPoints[playerid] <= 3) { if(WantedLevel[playerid] != 3) { WantedLevel[playerid] = 3; } }
else if(WantedPoints[playerid] >= 4 && WantedPoints[playerid] <= 4) { if(WantedLevel[playerid] != 4) { WantedLevel[playerid] = 4; } }
else if(WantedPoints[playerid] >= 5 && WantedPoints[playerid] <= 5) { if(WantedLevel[playerid] != 5) { WantedLevel[playerid] = 5; } }
else if(WantedPoints[playerid] >= 6 && WantedPoints[playerid] <= 6) { if(WantedLevel[playerid] != 6) { WantedLevel[playerid] = 6; } }
else if(WantedPoints[playerid] >= 10) { if(WantedLevel[playerid] != 10) { WantedLevel[playerid] = 10; } }
SetPlayerWantedLevel(playerid,WantedLevel[playerid]);
ansonsten wenns net daran liegt, sagt mal bitte, was ihr braucht