if (strcmp(cmd,"/rub",true) == 0 || strcmp(cmd, "/removeroadblock", true) == 0) { if(PlayerInfo[playerid][pTot] == 1) { SendClientMessage(playerid, COLOR_GREY, "Tote können keine Befehle nutzen!"); return 1; } if(IsPlayerConnected(playerid) && IsACop(playerid) || PlayerInfo[playerid][pAdmin] >= 2 || IsPlayerInFrac(playerid,22)) { DeleteClosestRoadblock(playerid); format(string,sizeof(string),"[HQ]: Officer %s hat eine Sperre entfernt, over.",sendername); SendRadioMessage(1,COLOR_DBLUE,string); GameTextForPlayer(playerid,"~w~Roadblock ~r~entfernt!",3000,1); new y, m, d; new h,mi,s; getdate(y,m,d); gettime(h,mi,s); format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /removeroadblock",d,m,y,h,mi,s,sendername); } return 1; }
Die Sperren gehen nicht weg