Jump to content

مساعده لا عنتم

Recommended Posts

ابي كود الغاء الوضيفه حاولت اسويه وما ظبط هذا الكود

function onGuiClick (button, state, absoluteX, absoluteY) 
if ( source ==  Button ) then 
function narBullets() 
     local x,y,z = getPedWeaponMuzzlePosition(localPlayer) 
     x2,y2,z2 = getPedTargetCollision(localPlayer) 
     if not x2 then 
          x2,y2,z2 = getPedTargetEnd(localPlayer) 
     dxDrawLine3D(x,y,z, x2,y2,z2, tocolor(255,0,0), 2) 
     setTimer ( function() 
        cancelEvent () 
    end, 5000, 1 ) 
addEventHandler("onClientRender", root, narBullets) 
addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) 

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...