Und warum stimmt das dann nicht wenn ich es so mache ?
public OnPlayerDeath(playerid, killerid, reason)
{
new ks;
new wl;
ks = GetPlayerScore(killerid);
ks += 1;
SetPlayerScore(killerid, ks);
GivePlayerMoney(killerid,1000);
wl = GetPlayerWantedLevel(killerid);
wl += 1;
SetPlayerWantedLevel(killerid, wl);
if(GetPlayerWantedLevel(killerid > 3))
{
SetPlayerColor(killerid,GELB);
}
else if(GetPlayerWantedLevel(killerid > 5))
{
SetPlayerColor(killerid,ORANGE);
}
else if(GetPlayerWantedLevel(killerid > 7))
{
SetPlayerColor(killerid,ROT);
}
return 1;
}