ich hab dieses Stock im script gefunden was aber nicht in verwendung ist was bewikrt der stock?
stock DisplayForPlayer(playerid)
{
if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT)
{
return 0;
}
if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
if(JobDuty[playerid] > 0)
{
return 0;
}
if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
if(JobDuty[playerid] > 0)
{
return 0;
}
if(PlayerInfo[playerid][pJob] == 17)
if(Mullabfuhr[playerid] > 0)
{
return 0;
}
if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10 || PlayerInfo[playerid][pJob] == 14)
if(TransportDuty[playerid] > 0)
{
return 0;
}
return 1;
}