Beiträge von TheRaw

    Lösung:

    Suche:


    Code
    exports.tokovoip_script:addPlayerToRadio(infoCall.id + 120)
    TokoVoipID = infoCall.id + 120

    Ändern zu:


    Code
    exports['tokovoip_script']:setPlayerData(GetPlayerName(PlayerId()), "call:channel", infoCall.id + 120, true)
    exports.tokovoip_script:addPlayerToRadio(infoCall.id + 120)
    TokoVoipID = infoCall.id + 120

    Anruf Ende folgendes:


    Code
    exports['tokovoip_script']:setPlayerData(GetPlayerName(PlayerId()), "call:channel", 'nil', true)
    exports.tokovoip_script:removePlayerFromRadio(TokoVoipID)
    TokoVoipID = nil


    Quelle: https://github.com/N3MTV/gcpho…64#issuecomment-561509870