Alles anzeigen
das Problem hatte ich auch grade kann dir helfen
Die Nummern musst du mit deinen FraktionsID´s tauschen..
gib mir bescheid obs geht
forward GetPlayerLeader(playerid);
public GetPlayerLeader(playerid)
{
if(PlayerInfo[playerid][pLeader] >= 5)
if(PlayerInfo[playerid][pLeader] >= 6)
if(PlayerInfo[playerid][pLeader] >= 7)
if(PlayerInfo[playerid][pLeader] >=
if(PlayerInfo[playerid][pLeader] >= 9)
if(PlayerInfo[playerid][pLeader] >= 10)
if(PlayerInfo[playerid][pLeader] >= 11)
if(PlayerInfo[playerid][pLeader] >= 12)
if(PlayerInfo[playerid][pLeader] >= 13)
if(PlayerInfo[playerid][pLeader] >= 14)
if(PlayerInfo[playerid][pLeader] >= 15)
if(PlayerInfo[playerid][pLeader] >= 16)
if(PlayerInfo[playerid][pLeader] >= 17)
if(PlayerInfo[playerid][pLeader] >= 18)
if(PlayerInfo[playerid][pLeader] >= 19)
if(PlayerInfo[playerid][pLeader] >= 20)
if(PlayerInfo[playerid][pLeader] >= 21)
if(PlayerInfo[playerid][pLeader] >= 22)
{
return 1;
}
return 0;
}
forward GetPlayerMember(playerid);
public GetPlayerMember(playerid)
{
if(PlayerInfo[playerid][pMember] >= 5)
if(PlayerInfo[playerid][pMember] >= 6)
if(PlayerInfo[playerid][pMember] >= 7)
if(PlayerInfo[playerid][pMember] >=
if(PlayerInfo[playerid][pMember] >= 9)
if(PlayerInfo[playerid][pMember] >= 10)
if(PlayerInfo[playerid][pMember] >= 11)
if(PlayerInfo[playerid][pMember] >= 12)
if(PlayerInfo[playerid][pMember] >= 13)
if(PlayerInfo[playerid][pMember] >= 14)
if(PlayerInfo[playerid][pMember] >= 15)
if(PlayerInfo[playerid][pMember] >= 16)
if(PlayerInfo[playerid][pMember] >= 17)
if(PlayerInfo[playerid][pMember] >= 18)
if(PlayerInfo[playerid][pMember] >= 19)
if(PlayerInfo[playerid][pMember] >= 20)
if(PlayerInfo[playerid][pMember] >= 21)
if(PlayerInfo[playerid][pMember] >= 22)
{
return 1;
}
return 0;
}
Was zum geiler...
forward GetPlayerMember(playerid);
public GetPlayerMember(playerid)
{
if(PlayerInfo[playerid][pMember]!= 0)return 1;
return 0;
}
forward GetPlayerLeader(playerid);
public GetPlayerLeader(playerid)
{
if(PlayerInfo[playerid][pLeader]!= 0)return 1;
return 0;
}
Abgesehen davon das deins nichtmal funktioniert