Beiträge von Firex

    (9062) : error 017: undefined symbol "DIALOG_STADTHALLE"
    (26630) : error 017: undefined symbol "DIALOG_STADTHALLE"


    (60321) : error 017: undefined symbol "DIALOG_STADTHALLE"

    Hallo ich habe einen Befehl und da kommen 2 Warnings und dann geht der Befehl net !


    //====================== ocmds ======================//ocmd:hs(playerid,params[]){ new pID; if(IsACop(playerid)) { if(sscanf(params, "u", pID)) { SendClientMessage(playerid,F_O, "Benutzung: /hs [ID]"); return 1; } if (ProxDetectorS(8.0, playerid, pID)) { new str[128], Officer[MAX_PLAYER_NAME], Spieler11[MAX_PLAYER_NAME]; GetPlayerName(playerid, Officer, sizeof(Officer)); GetPlayerName(pID, Spieler11, sizeof(Spieler11)); format(str, sizeof(str), "Officer %s hat %s Handschellen angelegt", Officer, Spieler11); SendClientMessageToAll(COLOR_LIGHTBLUE, str); SetPlayerSpecialAction(pID,24); SetPlayerAttachedObject(pID, 0, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000); } else { SendClientMessage(playerid, WHITE, "Dieser Spieler ist nicht in deiner Nähe."); } } return 1;}ocmd:hsab(playerid,params[]){ new pID; if(IsACop(playerid)) { if(sscanf(params, "u", pID)) { SendClientMessage(playerid,F_O, "Benutzung: /hsab [ID]"); return 1; } if (ProxDetectorS(8.0, playerid, pID)) { new str[128], Officer[MAX_PLAYER_NAME], Spieler11[MAX_PLAYER_NAME]; GetPlayerName(playerid, Officer, sizeof(Officer)); GetPlayerName(pID, Spieler11, sizeof(Spieler11)); format(str, sizeof(str), "Officer %s hat %s Handschellen abgelegt", Officer, Spieler11); SendClientMessageToAll(COLOR_LIGHTBLUE, str); RemovePlayerAttachedObject(pID,0); SetPlayerSpecialAction(pID, 0); } else { SendClientMessage(playerid, WHITE, "Dieser Spieler ist nicht in deiner Nähe."); } } return 1;}


    Warnings :


    (68337) : warning 203: symbol is never used: "hs"

    (68337) : warning 203: symbol is never used: "hsab"



    Code
    interest = (PlayerInfo[i][pAccount]/3000)*(tmpintrate);						PlayerInfo[i][pExp]++;						PlayerInfo[i][pExp]++;						PlayerInfo[i][pExp]++;						PlayerInfo[i][pExp]++;						PlayerInfo[i][pExp]++;						PlayerInfo[i][pExp]++;						PlayerInfo[i][pExp]++;						PlayerInfo[i][pExp]++;						PlayerPlayMusic(i);						PlayerInfo[i][pAccount] = account+interest;						SendClientMessage(i, 0x23FF00FF, "||||||||||||||||||Kontoauszug|||||||||||||||||");						format(string, sizeof(string), "  Gehalt: €%d  Miete: -€%d  Steuern: -€%d", checks, rent, Tax);						SendClientMessage(i, COLOR_GRAD1, string);						if(PlayerInfo[i][pPhousekey] != 255 || PlayerInfo[i][pPbiskey] != 255)						{		    				format(string, sizeof(string), "  Strom Kosten: -€%d", ebill);							SendClientMessage(i, COLOR_GRAD1, string);						}						if(PlayerInfo[i][pHandyVer] == 1)						{							SendClientMessage(i,COLOR_GRAD2,"  Handyvertragskosten: -€20");							GivePlayerMoney(i, -20);						}						if(PlayerInfo[i][pPlayerKreditDauer] > 0)						{						    PlayerInfo[i][pAccount] -= PlayerInfo[i][pPlayerKredit];						    PlayerInfo[i][pPlayerKreditDauer]--;							format(string, sizeof(string), "  Kreditrate: -%d", PlayerInfo[i][pPlayerKredit]);							SendClientMessage(i, COLOR_GRAD1, string);						}						format(string, sizeof(string), "  Zinsen: €%d [0.%d Prozent]", interest,tmpintrate);						SendClientMessage(i, COLOR_GRAD2, string);						SendClientMessage(i, COLOR_YELLOW, "||||||||||||||||||||||___||||||||||||||||||||");						format(string, sizeof(string), "  Neuer Kontostand: €%d", PlayerInfo[i][pAccount]);						SendClientMessage(i, COLOR_GRAD5, string);						format(string, sizeof(string), "~g~PayDay~y~!!!");						GameTextForPlayer(i, string, 5000, 1);						if(checks == 0 && FrakMember(i) && PlayerInfo[i][pJob] == 0)						{

    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