Beiträge von Strider

    so sieht das script jetzt aus und die standart hupe ist immer noch dar


    Spoiler anzeigen

    function bindHoron( key, keyState )
    if isPedInVehicle( localPlayer ) then
    if ( keyState == 'down' ) then
    toggleControl ( source, "horn", false )
    sound = playSound3D( 'horn.mp3', getElementPosition( localPlayer ) )
    setSoundVolume(desusound,5.0)
    setSoundMaxDistance(desusound, 190)
    attachElements( sound, getPedOccupiedVehicle( localPlayer ) )
    elseif ( keyState == 'up' ) then
    if isElement( sound ) then
    stopSound( sound )
    end
    end
    end
    end
    bindKey( 'h', 'both', bindHoron )


    meta


    Spoiler anzeigen

    <meta>
    <info name="Horn" author="DarjFire" version="1.0.1" type="misc" description="Korna"/>

    <script src="client.lua" type="client"/>
    <file src="horn.mp3" type="client"/>
    </meta>

    hallo leute ich habe grade ein selfmade hupe script gemacht nur ist das problem das die alte hupe auch noch dar ist wie kann ich sie für alle user weg machen?


    Edit//


    Spoiler anzeigen

    function bindHoron( key, keyState )
    if isPedInVehicle( localPlayer ) then
    if ( keyState == 'down' ) then
    sound = playSound3D( 'horn.mp3', getElementPosition( localPlayer ) )
    setSoundVolume(desusound,5.0)
    setSoundMaxDistance(desusound, 190)
    attachElements( sound, getPedOccupiedVehicle( localPlayer ) )
    elseif ( keyState == 'up' ) then
    if isElement( sound ) then
    stopSound( sound )
    end
    end
    end
    end
    unbindKey( 'h', 'down', bindHoron )
    bindKey( 'h', 'down', bindHoron )
    bindKey( 'h', 'up', bindHoron )

    hallo leute ich habe grade für mein script ein login gemacht mit eigenem script und design und wolte mal wissen wie es euch gefällt.
    Jede art von kritik ist erwünscht


    Edit//

    Externer Inhalt www7.pic-upload.de
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.

    ersetze deine register login gegen die