Hallo Leute,
Ich hab ein Bug undzwar wenn ich Aztecas kill dann bekomm ich ein Wanted,
Aber ich will das egal wen ich kill das ich 1 Wanted bekomm
Hiermal Pawno zeile aus OnPlayerDeath
Function OnPlayerDeath(playerid, killerid, reason){ M_OnPlayerDeath(playerid,killerid,reason); new name[MAX_PLAYER_NAME]; new string[256]; PlayerInfo[playerid][pInvWeapon] = 0; PlayerInfo[playerid][pInvAmmo] = 0; PlayerInfo[playerid][pInvWeapon2] = 0; PlayerInfo[playerid][pInvAmmo2] = 0; FrakMatsHolding[playerid] = 0; new playercash; new victimteam; new killerteam; if(PlayerInfo[playerid][pLevel] > 2 && KHSperre[playerid] == 0 && PlayerInfo[playerid][pJailed] == 0 && PlayerInfo[playerid][pGangJailed] == 0 && PlayerPaintballing[playerid] == 0) { PlayerInfo[playerid][pTot] = 1; } if(gPlayerUsingLoopingAnim[playerid]) { gPlayerUsingLoopingAnim[playerid] = 0; TextDrawHideForPlayer(playerid,txtAnimHelper); } if(BlindFold[playerid] == 1) { BlindFold[playerid] = 0; } if(PlayerInfo[playerid][pMauled] == 1) { PlayerInfo[playerid][pMauled] = 0; } InCargo[playerid] = 0; InLevi[playerid] = 0; InEnfo[playerid] = 0; if(FirstSpawn[playerid] == 1) { FirstSpawn[playerid] = 0; } if(IsBlacklist[playerid]==1) { ClearBlack(playerid); IsBlacklist[playerid]=0; }
Viele Dank im Vorraus
Egal wen man killt man soll 1Wanted bekommen !
Außer wenn cops jemanden killen !