ocmd:zeigelizenzes(playerid,params[])
{
if(GetPVarInt(playerid,"Lizenzen",0))return SendClientMessage(playerid,ROT,"** Du hast Keine Lizenzen");
new pID;
new lizenzen[60];
new string[60];
if(sscanf(params,"u",pID))return SendClientMessage(playerid,HBLAU2,"Benutze: /zeigelizenzen [ID]");
if(GetPVarInt(playerid,"Fuhrerschein")==1)format(lizenzen,60,"Ja");
if(GetPVarInt(playerid,"Waffenschein")==1)format(lizenzen,60,"Ja");
if(GetPVarInt(playerid,"Fuhrerschein")==0)format(lizenzen,60,"Nein");
if(GetPVarInt(playerid,"Waffenschein")==0)format(lizenzen,60,"Nein");
format(string,sizeof(string),"Waffenschein: %s\nFührerschein:%s",lizenzen);
ShowPlayerDialog(playerid,DIALOG_LIZEN,DIALOG_STYLE_MSGBOX,"Lizenzen",string,"Ok","");
return 1;
}
so und ingame steht nciht nein sonder %s.part warum ?