Fehler mit Notifys

Aus gegebenem Anlass: Sichert eure Backupcodes wenn ihr die Zwei-Faktor-Authentifizierung aktiviert habt!

Infos dazu findet ihr nochmal hier

  • Hallo, ich habe ein Problem und zwar werden meine Notifys erst aktualisiert wenn ich ein Auto einsteige. Folgende Codes habe ich.

    "

    mp.events.add("client:Handy:sendDispatch", (value) => {
      var playerposx = player.position.x;
      var playerposy = player.position.y;
      var playerposz = player.position.z;
      mp.game.graphics.notify('Du hast einen Dispatch gesendet an: ' + value);
      mp.events.callRemote("server:Global:showDispatch", value, playerposx, playerposy, playerposz);
    });"

    oder
    "

      mp.events.addCommand("aduty", (player, full, x, y, z) => {
        if (player.data.gender == 0) {
            player.setClothes(1,135,0,0); //Masken
            player.setClothes(3,1,0,0); //Torso
            player.setClothes(4,114,0,0); //Hose
            player.setClothes(6,83,0,0); //Schuhe
            player.setClothes(7,0,2,0); // Accesior
            player.setClothes(9,0,2,3); // Weste
            player.setClothes(11,287,0,0); //Jacke
            player.setClothes(0,0,0,0); //Shirt
            //player.data.hat = 115; //Hut
    } else {
                player.setProp(0,44,1); //Hut
                player.setProp(1,player.data.eye,0); //Brille
                player.setClothes(1,51,0,0); //Masken
                player.setClothes(3,18,0,0); //Torso
                player.setClothes(4,106,0,0); //Hose
                player.setClothes(6,60,10,0); //Schuhe
                player.setClothes(11,274,0,0); //tops
                player.setClothes(8,38,0,0); //Shirt
                player.setClothes(7,23,0,2); // Accesior
                player.setClothes(9,0,0,2); // Weste
                player.data.hat = 44;
    }
                //player.giveWeapon(0x3656C8C1, 0);
                //player.giveWeapon(0x99AEEB3B, 10000);
                //player.giveWeapon(0x22D8FE39, 10000);
                //player.giveWeapon(0x2BE6766B, 10000);
                //player.giveWeapon(0x83BF0278, 10000);
                //player.giveWeapon(0x8BB05FD7, 0);
                //.giveWeapon(0x678B81B1, 0);
    {
                    player.notify("~r~Admin Kleidung Angezogen");
    }
    });"

    Ich benutze die RageMP Version 0.3.7