Hallo ich habe mal den /bl befehl gemacht aber die Blacklist User werden nicht angezeit bitte um hilfe.
ocmd:bl(playerid,params[])
{
new pID;
new GroveStreetBl[124];
switch(GetPVarInt(playerid,"GroveStreetBl"))
{
case 0:{GroveStreetBl="";}
case 1:{GroveStreetBl=SpielerName(pID);}
}
new BallasBl[124];
switch(GetPVarInt(playerid,"BallasBl"))
{
case 0:{BallasBl="";}
case 1:{BallasBl=SpielerName(pID);}
}
new LosVagosBl[124];
switch(GetPVarInt(playerid,"LosVagosBl"))
{
case 0:{LosVagosBl="";}
case 1:{LosVagosBl=SpielerName(pID);}
}
new ScafoBl[124];
switch(GetPVarInt(playerid,"ScafoBl"))
{
case 0:{ScafoBl="";}
case 1:{ScafoBl=SpielerName(pID);}
}
new RussischeMafiaBl[124];
switch(GetPVarInt(playerid,"RussischeMafiaBl"))
{
case 0:{RussischeMafiaBl="";}
case 1:{RussischeMafiaBl=SpielerName(pID);}
}
new LaCosaNostraBl[124];
switch(GetPVarInt(playerid,"LaCosaNostraBl"))
{
case 0:{LaCosaNostraBl="";}
case 1:{LaCosaNostraBl=SpielerName(pID);}
}
new YakuzZaBl[124];
switch(GetPVarInt(playerid,"YakuzZaBl"))
{
case 0:{YakuzZaBl="";}
case 1:{YakuzZaBl=SpielerName(pID);}
}
new TriadenBl[124];
switch(GetPVarInt(playerid,"TriadenBl"))
{
case 0:{TriadenBl="";}
case 1:{TriadenBl=SpielerName(pID);}
}
if(isPlayerInFrakt(playerid,10))
{
SendClientMessage(playerid,Hellblau,"Blacklist User Online:");
if(GetPVarInt(pID,"GroveStreetBl")==1)
SendClientMessage(playerid,Gelb,GroveStreetBl);
}
else if(isPlayerInFrakt(playerid,11))
{
SendClientMessage(playerid,Hellblau,"Blacklist User Online:");
if(GetPVarInt(pID,"BallasBl")==1)
SendClientMessage(playerid,Gelb,BallasBl);
}
else if(isPlayerInFrakt(playerid,12))
{
SendClientMessage(playerid,Hellblau,"Blacklist User Online:");
if(GetPVarInt(pID,"LosVagosBl")==1)
SendClientMessage(playerid,Gelb,LosVagosBl);
}
else if(isPlayerInFrakt(playerid,13))
{
SendClientMessage(playerid,Hellblau,"Blacklist User Online:");
if(GetPVarInt(pID,"ScafoBl")==1)
SendClientMessage(playerid,Gelb,ScafoBl);
}
else if(isPlayerInFrakt(playerid,15))
{
SendClientMessage(playerid,Hellblau,"Blacklist User Online:");
if(GetPVarInt(pID,"RussischeMafiaBl")==1)
SendClientMessage(playerid,Gelb,RussischeMafiaBl);
}
else if(isPlayerInFrakt(playerid,16))
{
SendClientMessage(playerid,Hellblau,"Blacklist User Online:");
if(GetPVarInt(pID,"LaCosaNostraBl")==1)
SendClientMessage(playerid,Gelb,LaCosaNostraBl);
}
else if(isPlayerInFrakt(playerid,17))
{
SendClientMessage(playerid,Hellblau,"Blacklist User Online:");
if(GetPVarInt(pID,"YakuzZaBl")==1)
SendClientMessage(playerid,Gelb,YakuzZaBl);
}
else if(isPlayerInFrakt(playerid,18))
{
SendClientMessage(playerid,Hellblau,"Blacklist User Online:");
if(GetPVarInt(pID,"TriadenBl")==1)
SendClientMessage(playerid,Gelb,TriadenBl);
}
return 1;
}