Jump to content

طلب كودده


Recommended Posts

addEventHandler ( 'onClientRender',root, 
    function ( ) 
        if not isElement ( se ) then return false end 
        local PlaScreenYerScreenX, PlaScreenYerScreenY, PlaScreenYerZ = getElementPosition ( localPlayer ) 
        local PositionScreenX, PositionScreenY, PositionZ = getElementPosition ( se ) 
        local Distance = getDistanceBetweenPoints3D ( PlaScreenYerScreenX, PlaScreenYerScreenY, PlaScreenYerZ, PositionScreenX, PositionScreenY, PositionZ ) 
    if ( Distance < 11 ) then 
            local ScreenX, ScreenY = getScreenFromWorldPosition ( PositionScreenX, PositionScreenY, PositionZ ) 
                if ( ScreenX and ScreenY ) then 
                    dxDrawText( 'Hello Friend!', ScreenX, ScreenY, _, _, tocolor( 255, 0, 0, 2555 ), 2, 'pricedown', 'center', 'center' ) 
        end 
    end 
end 
) 

كودك له القليل من الهرائس جرب ذا ..

Link to comment
addEventHandler ( 'onClientRender',root, 
    function ( ) 
        if not isElement ( se ) then return false end 
        local PlaScreenYerScreenX, PlaScreenYerScreenY, PlaScreenYerZ = getElementPosition ( localPlayer ) 
        local PositionScreenX, PositionScreenY, PositionZ = getElementPosition ( se ) 
        local Distance = getDistanceBetweenPoints3D ( PlaScreenYerScreenX, PlaScreenYerScreenY, PlaScreenYerZ, PositionScreenX, PositionScreenY, PositionZ ) 
    if ( Distance < 11 ) then 
            local ScreenX, ScreenY = getScreenFromWorldPosition ( PositionScreenX, PositionScreenY, PositionZ ) 
                if ( ScreenX and ScreenY ) then 
                    dxDrawText( 'Hello Friend!', ScreenX, ScreenY, _, _, tocolor( 255, 0, 0, 2555 ), 2, 'pricedown', 'center', 'center' ) 
        end 
    end 
end 
) 

كودك له القليل من الهرائس جرب ذا ..

الكود على امعاء الباد وانا ابي فوق راسة مايتحرك يعني مايلف

عدل على احدايثات z

باضافة +1 ..الخ بالتجربة

Link to comment
addEventHandler ( 'onClientRender',root, 
    function ( ) 
        if not isElement ( se ) then return false end 
        local PlaScreenYerScreenX, PlaScreenYerScreenY, PlaScreenYerZ = getElementPosition ( localPlayer ) 
        local PositionScreenX, PositionScreenY, PositionZ = getElementPosition ( se ) 
        local Distance = getDistanceBetweenPoints3D ( PlaScreenYerScreenX, PlaScreenYerScreenY, PlaScreenYerZ, PositionScreenX, PositionScreenY, PositionZ ) 
    if ( Distance < 11 ) then 
            local ScreenX, ScreenY = getScreenFromWorldPosition ( PositionScreenX, PositionScreenY, PositionZ+5 ) 
                if ( ScreenX and ScreenY ) then 
                    dxDrawText( 'Hello Friend!', ScreenX, ScreenY, _, _, tocolor( 255, 0, 0, 2555 ), 2, 'pricedown', 'center', 'center' ) 
        end 
    end 
end 
) 

ججرب ..

Edited by Guest
Link to comment
لو سمحت ابي متل الخط دا

XOaeHt.png

بدل

pricedown

الى

default-bold

وكبر الخط [ حجمة ] أقصد ..

كيف اخلي اطرافة اسود

addEventHandler ( 'onClientRender',root, 
    function ( ) 
        if not isElement ( se ) then return false end 
        local PlaScreenYerScreenX, PlaScreenYerScreenY, PlaScreenYerZ = getElementPosition ( localPlayer ) 
        local PositionScreenX, PositionScreenY, PositionZ = getElementPosition ( se ) 
        local Distance = getDistanceBetweenPoints3D ( PlaScreenYerScreenX, PlaScreenYerScreenY, PlaScreenYerZ, PositionScreenX, PositionScreenY, PositionZ ) 
    if ( Distance < 11 ) then 
            local ScreenX, ScreenY = getScreenFromWorldPosition ( PositionScreenX, PositionScreenY, PositionZ+5 ) 
                if ( ScreenX and ScreenY ) then 
                    dxDrawText( 'Hello Friend!', ScreenX, ScreenY, _, _, tocolor( 255, 0, 0, 255 ), 2, 'default-bold', 'center', 'center' ) 
                    dxDrawText( 'Hello Friend!', ScreenX-2, ScreenY-2, _, _, tocolor( 0, 0, 0, 255 ), 2, 'default-bold', 'center', 'center' ) 
        end 
    end 
end 
) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...