Ich habe ein problem in GF mit meinem Wanted skript.
if(killerid != INVALID_PLAYER_ID)
{
WantedPoints[playerid] += 1;
if(WantedPoints[playerid] = 1)
{
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid) + 1);
}
if(WantedPoints[playerid] = 2)
{
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid) + 2);
}
if(WantedPoints[playerid] = 3)
{
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid) + 3);
}
if(WantedPoints[playerid] = 4)
{
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid) + 4);
}
if(WantedPoints[playerid] = 5)
{
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid) + 5);
}
if(WantedPoints[playerid] = 6)
{
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid) + 6);
}
}
Geht nicht!!! Bitte helfen