if(strcmp(cmdtext,"/bsn",true) ==0) { if(isPlayerAnAdmin(playerid,3) { ShowPlayerDialog(playerid,DIALOG_TUTORIAL,DIALOG_STYLE_MSGBOX,"Teleport BSN","Bist du sicher,das du dich zum BSN Teleporten möchtest ?","JA","NEIN"); return 1; } SendClientMessage(playerid,rot,"Du bist kein Admin."); return 1; }
Fehler soll unter if(isPlayerAnAdmin(playerid,3) beim { sein
expected token: ")", but found "{"