if(pickupid == armyheal)
{
if(SpielerInfo[playerid][Leader] == 3)
{
SetPlayerHealth(playerid,100);
}
if(SpielerInfo[playerid][Member] == 3)
{
SetPlayerHealth(playerid,100);
}
return 1;
}
if(pickupid == armyarmor)
{
if(SpielerInfo[playerid][Leader] == 3)
{
SetPlayerArmour(playerid,100);
}
if(SpielerInfo[playerid][Member] == 3)
{
SetPlayerArmour(playerid,100);
}
return 1;
}
Mach mal das hier.