stock IsAnAdmin(playerid,level)
{
if(sInfo[playerid][pAdmin]>=level)return 1;
return 0;
}
So sollte die Abfrage 'IsAnAdmin' gehen
if(PlayerInfo[playerid][pAdmin] == 0)
{
if(GetVehicleModel(vehicleid) == 432 || GetVehicleModel(vehicleid) == 425 || GetVehicleModel(vehicleid) == 520)
{
if(PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 7)
}
else
{
SendClientMessage(playerid,COLOR_RED,"Du weißt nicht wie du in das Fahrzeug kommen sollst!");
TogglePlayerControllable(playerid,false);
TogglePlayerControllable(playerid,true);
}
}
}
Dein Funktion
Hoffe es klappt