Wenn ich jemanden kill bekomme ich keine Wanteds.
Warum nicht ?
if(PlayerInfo[playerid][pTot]==1)return 1;
if(PlayerPaintballing[playerid]==1)return 1;
if(GetPlayerScore(killerid)>=3)
{
if(OnDuty[playerid]==1)
{
if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,24)||IsPlayerInFrac(playerid,9))
{
if(OnDuty[killerid]==0)
{
if(!IsPlayerInFrac(killerid,8))
{
if(GetPVarInt(killerid,"maske")==0)
{
new rnd=random(2);
if(rnd==0)
{
if(WantedLevel[killerid]<69)
{
new wps=45;
new grund[64]="Beamtenmord";
WantedLevel[killerid]+=wps;
if(WantedLevel[killerid]>69){WantedLevel[killerid]=69;}
format(string,sizeof(string),"Wantedpunkte: %i Gesamt: %i Reporter: %s Grund: %s",wps,WantedLevel[killerid],MeinName(playerid),grund);
SendClientMessage(killerid,0xFF0000AA,string);
format(string,sizeof(string),"<<Gesuchter: %s Wantedpunkte: %i Gesamt: %i Reporter: %s Grund: %s>>",MeinName(killerid),wps,WantedLevel[killerid],MeinName(playerid),grund);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i))continue;
if(!IsPlayerInFrac(i,1)&&!IsPlayerInFrac(i,2)&&!IsPlayerInFrac(i,3)&&!IsPlayerInFrac(i,24)&&!IsPlayerInFrac(i,9))continue;
SendClientMessage(i,0xFF0000AA,string);
}
PlayCrimeReportForPlayer(killerid,playerid,22);
}
}
}
}
}
}
}
}