Hey.
Hier mein CODE:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
new Float:Armour;
GetPlayerArmour(playerid, Armour);
if(Armour >= 1)
{
}
else if(GetPlayerTeam(playerid) == TEAM_RED && GetPlayerTeam(issuerid) == TEAM_BLUE && GetPlayerWeapon(issuerid) == 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18 || 19 || 20 || 21 || 22 || 23 || 24 || 25 || 26 || 27 || 28 || 29 || 30 || 31 || 32 || 33 || 34 )
{
SetPlayerHealth(playerid, 0);
}
return 1;
}
Wenn man fällt verliert man das Ganze Leben das soll aber nicht passieren kann mir wer helfen pls ?
Bin noch neu